-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Home
Welcome to the acme.sh wiki!
Here is the wiki page for acme.sh
- 📡 ARI auto-renewal (RFC 9773) — acme.sh now follows the CA's
renewalInfoendpoint automatically. No flag, no opt-in. Lets the CA shift renewals forward in case of an incident. - 📌 DNS persist mode — publish one TXT record once, renew forever without DNS API and without per-renewal manual edits. Implements draft-ietf-acme-dns-persist-01.
https://github.com/acmesh-official/acme.sh/wiki/How-to-install
Docker install: https://github.com/acmesh-official/acme.sh/wiki/Run-acme.sh-in-docker
After installation,
-
Check if port 80 is opened on Proxmox host.
-
Issue a cert:
/root/.acme.sh/acme.sh --issue --standalone -d <DOMAIN>
After issuing, the cert will be automatically renewed (every ~30 days, or earlier if the CA's ARI endpoint advises so).
- Install the cert to Proxmox:
/root/.acme.sh/acme.sh --installcert -d <DOMAIN> \
--certpath /etc/pve/local/pveproxy-ssl.pem \
--keypath /etc/pve/local/pveproxy-ssl.key \
--capath /etc/pve/local/pveproxy-ssl.pem \
--reloadcmd "systemctl restart pveproxy"
Ok, it's done. Open the link: https://<DOMAIN>:8006
After you issue the cert, you can use the toPkcs command to convert the cert to pkcs12(pfx) format
acme.sh --toPkcs -d <domain> [--password pfx-password]
Important note: If you do not specify a password on the command line, OpenSSH itself will prompt you for one and the pkcs12(pfx) file will be generated. However, it will not be regenerated during certificate renewal. You must specify a non-blank password on the command line in order for acme.sh to regenerate the pkcs12(pfx) when renewing certificates.
-
Download cygwin installer: setup-x86.exe or setup-x86_64.exe from: https://cygwin.com/
-
In the installer, select: Net:
curland Net:socatto install. -
After install finished, you can open the Cygwin window and use
curlto installacme.shonline: https://github.com/acmesh-official/acme.sh/wiki#1-how-to-install -
A scheduler task will be installed in your Windows scheduler to renew your certs.
Copyright: acme.sh wiki contributors
License: GNU General Public License version 3 or any later version
Buy me a beer, Donate to acme.sh if it saves your time. Your donation makes acme.sh better: https://donate.acme.sh/
如果 acme.sh 帮你节省了时间,请考虑赏我一杯啤酒🍺, 捐助: https://donate.acme.sh/ 你的支持将会使得 acme.sh 越来越好. 感谢
