Lets Encrypt (aka certbot)... is easy!

(Posted: Monday, March 27, 2023)

A quick guide/howtos to get SSL through Let’s Encrypt/certbot up and running and how to config for different HTTP servers.

Create Cert bundle

certbot certonly --webroot -w {your root path} -d {your www domain} -d {your non-www domain}

Attach to HTTP servers

Nginx

Lighttpd

cat /etc/letsencrypt/live/{your domain}/cert.pem /etc/letsencrypt/live/{your domain}/privkey.pem > /etc/letsencrypt/live/{your domain}/web.pem
ssl.pemfile = "/etc/letsencrypt/live/{your domain}/web.pem" # Combined Certificate
ssl.ca-file = "/etc/letsencrypt/live/{your domain}/chain.pem" # Root CA