Guide
Issue a Let's Encrypt certificate
Install certbot, pass the HTTP-01 challenge, confirm the redirect and test renewal with a deploy hook that reloads the service.
1. Install certbot
apt -y install certbot python3-certbot-nginx on a host that already serves the name on port 80. The HTTP-01 challenge needs port 80 reachable from the internet.
2. Issue and install
certbot --nginx -d example.com -d www.example.com --redirect. Certbot edits the server block, adds the redirect and reloads nginx.
3. Or use standalone on a custom stack
certbot certonly --standalone -d example.com needs port 80 free for the challenge. Point the web server at /etc/letsencrypt/live/example.com/fullchain.pem afterwards.
4. Test the renewal
certbot renew --dry-run exercises the same path the timer uses twice a day. A renewal that was never tested is a renewal that fails at day 89.
5. Reload the service after renewal
Add --deploy-hook 'systemctl reload nginx'. Without it the file is replaced and the running process keeps serving the old certificate.
6. Confirm what is served
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates. The notAfter date should be about 90 days out.
FAQ
Questions we get on this page
What are the rate limits?+
Can I get a wildcard?+
Ready when you are
Tell us what you need. A human answers.
Pilot stage: one facility in Reykjavík, plans confirmed by hand, payment in crypto. Write to the desk and you get a real person, not a queue.