Please test my new script to auto update SSL Certificates from Tailscale.
update_tailscale_certificates.sh
update_tailscale_certificates.sh
is a script that automates the process of updating Tailscale-issued certificates for a Tailscale-enabled device. It dynamically retrieves the correct DNS name for the device, requests a new certificate, combines the certificate and private key into a .pem
file, and configures the lighttpd
web server to use the updated certificate. Finally, it reloads the lighttpd
server to apply the changes.