mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-22 18:20:09 +08:00
Updated Home (markdown)
parent
598a3600ce
commit
11b5758028
48
Home.md
48
Home.md
@ -2,3 +2,51 @@ Welcome to the le wiki!
|
||||
|
||||
Here is the wiki page for le.sh
|
||||
|
||||
|
||||
1. How to install
|
||||
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`
|
||||
```
|
||||
ACCOUNT_EMAIL=aaa@aaa.com
|
||||
```
|
||||
Which is optional. If you don't want to register with your email, just ignore this step.
|
||||
|
||||
|
||||
|
||||
2. How to use in Proxmox ?
|
||||
|
||||
After installation,
|
||||
|
||||
1) Issuer a cert:
|
||||
```
|
||||
/root/.le/le.sh issue no <DOMAIN>
|
||||
```
|
||||
After issuing, the cert will be automatically every 80 days.
|
||||
|
||||
2) 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`
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user