Enable HTTPS with Let’s Encrypt CA
:warning: A reminder that SSL standard had not been updated since 1996. Stop Using SSL! :heart: The current standard is TLS. This is the term to use.
get.dev explains Google’s new gTLD: the
.dev top-level domain is included on the HSTS preload list, making HTTPS required on all connections to
.dev websites and pages withouth needing individual HSTS registration or configuration. Security is built in.
Certificate Authorities (CA)
Let’s Encrypt is a modern Certificate Authority using ACME protocol.
Web server configuration
Use Mozilla SSL Configuration Generator to generate the web server application configuration.
Options (set both):
- HSTS (HTTP Strict Transport Security) — WikiPedia Article
- OCSP Stapling, or the Online Certificate Status Protocol stapling, formally known as the TLS Certificate Status Request extension — is a standard for checking the revokation of certificates.
The article Let’s Encrypt my servers with acme tiny explains the use of
acme-tiny and Ansible.
Testing web server configuration
Use SSL Labs.
Renewal of certificates
- Issued certificates expire in three monts, so must auto-renew. Using systemd as a better cron
- EFF issued the certbot software, which can renew the certificates: Certbot. Certbot documentation is extensive.
:warning: Certbot must be installed on the server, but it needs a whole lot of Python libraries. What’s the best practice?