Proxmox VE/Lets Encrypt Setup

From OCARC
< Proxmox VE
Revision as of 17:36, 17 March 2019 by Va7stv (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Based on information fromhttps://pve.proxmox.com/wiki/HTTPS_Certificate_Configuration_(Version_4.x,_5.0_and_5.1)#Let.27s_Encrypt_using_acme.sh

wget 'https://github.com/Neilpang/acme.sh/archive/master.zip'

unzip master.zip

mkdir /etc/pve/.le

cd /root/acme.sh-master

./acme.sh --install --accountconf /etc/pve/.le/account.conf --accountkey /etc/pve/.le/account.key --accountemail "$EMAIL"

./acme.sh --issue --standalone --keypath /etc/pve/local/pveproxy-ssl.key --fullchainpath /etc/pve/local/pveproxy-ssl.pem --reloadcmd "systemctl restart pveproxy" -d `hostname -f`