Let's Encrypt

This document contains notes on using Let's Encrypt to create an SSL/TLS certificate.

Using Certbot with Nginx

These notes relate do using certbot 4.0.0 on Debian 13 (Trixie) running an nginx web server.

Initial Setup

After installing the certbot package, creating the certificate(s) for nginxserver should be as simple as:

$ certbot --nginx

and answering the interactive questions.

List Certificates

$ sudo certbot certificates

Modifying the List of Sub-domains

List the current list of desired domain names for the -d parameter. Leave out any that are no longer required and include any new ones.

$ certbot certonly --cert-name example.com -d example.com,new.example.com

Again, answer the interactive questions.

PostgreSQL

See Securing Postgres connections using Let's Encrypt certificates | Logan Marchione

Further Reading

References


-- Frank Dean - 23 Jul 2026

Related Topics: NginxTips