-
-
Save shawnhank/72ea12963fcdb2923f0706a90be9274f to your computer and use it in GitHub Desktop.
acme.sh + Proxmox VE
This file contains hidden or 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
# CloudFlare API | |
# | |
# Please install "acme.sh" before runnung this script. | |
# curl https://get.acme.sh/ | sh | |
# | |
export CF_Email="[email protected]" | |
export CF_Key="Your_CloudFlare_API_Key" | |
/root/.acme.sh/acme.sh --issue \ | |
-d $DOMAIN \ | |
--dns dns_cf --dnssleep 30 \ | |
--fullchain-file /etc/pve/local/pveproxy-ssl.pem \ | |
--key-file /etc/pve/local/pveproxy-ssl.key \ | |
--reloadcmd "systemctl restart pveproxy" |
This file contains hidden or 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
# Gandi.net API | |
# | |
# Please install "acme.sh" before runnung this script. | |
# curl https://get.acme.sh/ | sh | |
# | |
DOMAIN="pve.example.com" | |
export GANDI_LIVEDNS_KEY="YOURKEY" | |
/root/.acme.sh/acme.sh --issue \ | |
-d $DOMAIN \ | |
--dns dns_gandi_livedns --dnssleep 30 \ | |
--fullchain-file /etc/pve/local/pveproxy-ssl.pem \ | |
--key-file /etc/pve/local/pveproxy-ssl.key \ | |
--reloadcmd "systemctl restart pveproxy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment