more acme.sh updates
This commit is contained in:
parent
f2665547f5
commit
b0c456d18d
|
@ -122,22 +122,22 @@ with your domain name):
|
||||||
# mkdir -p /etc/ssl/example.com
|
# mkdir -p /etc/ssl/example.com
|
||||||
# sudo -Hu acme -g acme acme.sh --issue -d example.com --stateless
|
# sudo -Hu acme -g acme acme.sh --issue -d example.com --stateless
|
||||||
# acme.sh --home /var/db/acme/.acme.sh/ --install-cert -d example.com \
|
# acme.sh --home /var/db/acme/.acme.sh/ --install-cert -d example.com \
|
||||||
--key-file /etc/ssl/example.com/key.pem
|
--ca-file /etc/ssl/example.com/ca.pem \
|
||||||
|
--key-file /etc/ssl/example.com/key.pem \
|
||||||
|
--cert-file /etc/ssl/example.com/cert.pem \
|
||||||
--fullchain-file /etc/ssl/example.com/fullchain.pem
|
--fullchain-file /etc/ssl/example.com/fullchain.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
Let's add auto-renewal to `/etc/daily.local`
|
Let's add auto-renewal to `/etc/crontab`
|
||||||
(replace `example.com` with your domain):
|
(replace `example.com` with your domain):
|
||||||
|
|
||||||
```
|
```
|
||||||
/usr/local/bin/sudo -Hu acme -g acme \
|
/usr/local/bin/sudo -Hu acme -g acme /usr/local/sbin/acme.sh -r -d example.com --stateless
|
||||||
/usr/local/sbin/acme.sh -r \
|
/usr/local/sbin/acme.sh --home /var/db/acme/.acme.sh/ --install-cert -d example.com \
|
||||||
-d example.com \
|
--ca-file /etc/ssl/example.com/ca.pem \
|
||||||
--cert-file /etc/nginx/tls/cert \
|
--key-file /etc/ssl/example.com/key.pem \
|
||||||
--key-file /etc/nginx/tls/key \
|
--cert-file /etc/ssl/test-app.mailchar.com/cert.pem \
|
||||||
--ca-file /etc/nginx/tls/ca \
|
--fullchain-file /etc/ssl/example.com/fullchain.pem
|
||||||
--fullchain-file /etc/nginx/tls/fullchain \
|
|
||||||
--stateless
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Configuring nginx
|
### Configuring nginx
|
||||||
|
|
Loading…
Reference in New Issue