Skip to content

Instantly share code, notes, and snippets.

@heartshare
Forked from willjasen/tailscale-cert-renew.sh
Created January 25, 2025 05:04
Show Gist options
  • Save heartshare/e5876214e8531532aef5faeee0c6fbc7 to your computer and use it in GitHub Desktop.
Save heartshare/e5876214e8531532aef5faeee0c6fbc7 to your computer and use it in GitHub Desktop.
renews tailscale certificate in proxmox
#!/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