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 | |
# Server name | |
servername="your-pve-domain.com" | |
# Set -e to exit on error | |
set -e | |
# Generate the key and write it to the target file | |
tailscale cert --key-file - $servername > /etc/pve/local/pveproxy-ssl.key |