-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Home
Welcome to the le wiki!
Here is the wiki page for le.sh
Install online:
curl https://raw.githubusercontent.com/Neilpang/le/master/le.sh | INSTALLONLINE=1 bash
Or,
wget -O - https://raw.githubusercontent.com/Neilpang/le/master/le.sh | INSTALLONLINE=1 bash
Install from git:
git clone https://github.com/Neilpang/le.git
cd le
./le.sh install
If you want to use your email to register to LetsEncrypt, you can edit ~/.le/account.conf
Uncomment and set ACCOUNT_EMAIL
Which is optional. If you don't want to register with your email, just ignore this step.
After installation,
- Issuer a cert:
/root/.le/le.sh issue no <DOMAIN>
After issuing, the cert will be automatically every 80 days.
- Install the cert to Proxmox:
/root/.le/le.sh installcert <DOMAIN> /etc/pve/local/pveproxy-ssl.pem /etc/pve/local/pveproxy-ssl.key /etc/pve/local/pveproxy-ssl.pem "systemctl restart pveproxy"
Ok, it's done. Open the link: https://<DOMAIN>:8006
After you issue the cert, then you can use toPkcs
command to convert the cert to pkcs12(pfx) format
le.sh toPkcs <domain> [pfx-password]
-
Download cygwin installer: setup-x86.exe or setup-x86_64.exe from: https://cygwin.com/
-
In the installer, select: Net:
curl
, Net:nc
and Admin:cron
to install. -
After install finished, you can open Cygwin window and use
curl
to install online. -
In Cygwin, the cron job is not working by default. So, the issued cert will not be renew automatically. If you want the cron job to work, you must enable the cron job:
https://stackoverflow.com/questions/707184/how-do-you-run-a-crontab-in-cygwin-on-windows
For short, just run:
cron-config
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 越来越好. 感谢