Skip to content

Instantly share code, notes, and snippets.

@willjasen
Created February 4, 2024 19:55
Show Gist options
  • Save willjasen/50a1cee80fb366b0bf60e0fec0a87333 to your computer and use it in GitHub Desktop.
Save willjasen/50a1cee80fb366b0bf60e0fec0a87333 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