Created
February 4, 2024 19:55
-
-
Save willjasen/50a1cee80fb366b0bf60e0fec0a87333 to your computer and use it in GitHub Desktop.
renews tailscale certificate in proxmox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# taken from https://tailscale.com/kb/1133/proxmox | |
NAME="$(tailscale status --json | jq '.Self.DNSName | .[:-1]' -r)" | |
tailscale cert "${NAME}" | |
pvenode cert set "${NAME}.crt" "${NAME}.key" --force --restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment