diff --git a/README.md b/README.md index 4898b04..0417855 100644 --- a/README.md +++ b/README.md @@ -2,30 +2,4 @@ Checklist: - [x] Setup a random IPv6 for the web server - [x] [CAA record](https://letsencrypt.org/docs/caa/) - -To issue a certificate: - -1. Set certificates in your server .conf to this: - ``` - ssl_certificate /etc/nginx/snakeoil.pem; - ssl_certificate_key /etc/nginx/snakeoil.key; - ``` - -3. Issue the certificate: - ``` - docker compose exec acme mkdir /etc/ssl/ - docker compose exec acme --issue --server letsencrypt -d --webroot /var/www/html/ - docker compose exec acme --install-cert -d --key-file /etc/ssl//key.pem --fullchain-file /etc/ssl//fullchain.pem - ``` - -4. Set certificates in your server .conf to this: - ``` - ssl_certificate /etc/ssl//fullchain.pem; - ssl_certificate_key /etc/ssl//key.pem; - ``` - -5. Restart nginx: - ``` - docker compose exec nginx nginx -s reload - ``` - You have to do this (or restart) every up to 3 months. \ No newline at end of file +- [x] [Issue a certificate](CERTIFICATE.md) \ No newline at end of file