mirror of https://gitlab.com/bashrc2/epicyon
Switch to certbot acme v2
parent
08c18607d0
commit
7cebf0562e
|
@ -178,7 +178,7 @@ ln -s /etc/nginx/sites-available/YOUR_DOMAIN /etc/nginx/sites-enabled/
|
||||||
Generate a LetsEncrypt certificate.
|
Generate a LetsEncrypt certificate.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
certbot certonly -n --server https://acme-v01.api.letsencrypt.org/directory --standalone -d YOUR_DOMAIN --renew-by-default --agree-tos --email YOUR_EMAIL
|
certbot certonly -n --server https://acme-v02.api.letsencrypt.org/directory --standalone -d YOUR_DOMAIN --renew-by-default --agree-tos --email YOUR_EMAIL
|
||||||
```
|
```
|
||||||
|
|
||||||
And restart the web server:
|
And restart the web server:
|
||||||
|
|
Loading…
Reference in New Issue