From f68354f5a0d575098849e37322628d204f35ca18 Mon Sep 17 00:00:00 2001 From: Derek Kaser <11674153+dkaser@users.noreply.github.com> Date: Sat, 26 Oct 2024 23:13:57 -0400 Subject: [PATCH] docs: remove cert instructions (#13) --- .../plugins/tailscale/Tailscale-5-Help.page | 35 ------------------- 1 file changed, 35 deletions(-) diff --git a/src/usr/local/emhttp/plugins/tailscale/Tailscale-5-Help.page b/src/usr/local/emhttp/plugins/tailscale/Tailscale-5-Help.page index 8a4ea98..1df4b83 100644 --- a/src/usr/local/emhttp/plugins/tailscale/Tailscale-5-Help.page +++ b/src/usr/local/emhttp/plugins/tailscale/Tailscale-5-Help.page @@ -32,41 +32,6 @@ function help_block(string $section, string $header="h3") : string { -## tr("help.certificates") ?> - -tr("help.certificates_instructions") ?> -``` -#!/bin/bash -mkdir -p /boot/config/plugins/tailscale/certs -cd /boot/config/plugins/tailscale/certs - -source /boot/config/ident.cfg -FQDN=$(hostname | tr '[:upper:]' '[:lower:]').${LOCAL_TLD%%[[:cntrl:]]} - -# Have Tailscale generate a new certificate if needed -tailscale cert $FQDN - -# Build the PEM bundle -cat /boot/config/plugins/tailscale/certs/$FQDN.crt > /boot/config/plugins/tailscale/certs/$FQDN.pem -cat /boot/config/plugins/tailscale/certs/$FQDN.key >> /boot/config/plugins/tailscale/certs/$FQDN.pem - -# Update the WebGUI certificate -echo "Copying certificate to WebGUI config" -cp -v /boot/config/plugins/tailscale/certs/$FQDN.pem /boot/config/ssl/certs/$(hostname)_unraid_bundle.pem -echo "Restarting WebGUI" -/etc/rc.d/rc.nginx reload -``` - -tr("help.certificates_docker") ?> -``` -# Copy the files to the Minio container -echo "Copying certificate to Minio" -cp -v /boot/config/plugins/tailscale/certs/$FQDN.crt /mnt/user/appdata/minio/certs/public.crt -cp -v /boot/config/plugins/tailscale/certs/$FQDN.key /mnt/user/appdata/minio/certs/private.key -echo "Restarting Minio" -docker restart Minio -``` - ## tr("help.support") ?> tr("help.support_forums") ?>