Notes about Let’s Encrypt
Find the companion guide to issuing a Let’s Encrypt wildcard certificate with Certbot and Docker.
1. Use Certbot docker to generates the certs
“Let’s Encrypt Wildcard SSL with Certbot docker”: The Lazy Developer
Example of Nginx configuration:
server {
listen 80;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/example.com/cert.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
...
}
2. Auto-renew with Certbot docker
https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71