|
@@ -96,8 +96,8 @@ configure an nginx server:
|
|
|
|
|
|
```
|
|
```
|
|
#NOTE: For nginx, you need to append the Let's Encrypt intermediate cert to your cert
|
|
#NOTE: For nginx, you need to append the Let's Encrypt intermediate cert to your cert
|
|
-wget https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem
|
|
|
|
-cat signed.crt lets-encrypt-x1-cross-signed.pem > chained.pem
|
|
|
|
|
|
+wget -O - https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem > intermediate.pem
|
|
|
|
+cat signed.crt intermediate.pem > chained.pem
|
|
```
|
|
```
|
|
|
|
|
|
```nginx
|
|
```nginx
|
|
@@ -142,8 +142,8 @@ Example of a `renew_cert.sh`:
|
|
```sh
|
|
```sh
|
|
#!/usr/bin/sh
|
|
#!/usr/bin/sh
|
|
python /path/to/acme_tiny.py --account-key /path/to/account.key --csr /path/to/domain.csr --acme-dir /var/www/challenges/ > /path/to/signed.crt
|
|
python /path/to/acme_tiny.py --account-key /path/to/account.key --csr /path/to/domain.csr --acme-dir /var/www/challenges/ > /path/to/signed.crt
|
|
-wget https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem
|
|
|
|
-cat /path/to/signed.crt lets-encrypt-x1-cross-signed.pem > /path/to/chained.pem
|
|
|
|
|
|
+wget -O - https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem > intermediate.pem
|
|
|
|
+cat /path/to/signed.crt intermediate.pem > /path/to/chained.pem
|
|
service nginx reload
|
|
service nginx reload
|
|
```
|
|
```
|
|
|
|
|