I’ve been pushing on certbot to handle CNAME entries when ordering certs, and finally given up.
- dns-rfc2136: handle CNAME/DNAME records correctly [WITH PATCH] · Issue #6787 · certbot/certbot · GitHub
- rfc 2136 cname fix (updated hpax #7244) by timriker · Pull Request #9970 · certbot/certbot · GitHub
- dns-rfc2136: find the correct zone/name when CNAME/DNAMEs are used by hpax · Pull Request #7244 · certbot/certbot · GitHub
This repo contains scripts that:
- Create an ACME account with Let’s Encrypt
- use TSIG credentials to talk to bind (RFC-2136)
- create TXT record in correct zone by following CNAME and SOA entries if present
- downloads certs
- installs certs on one or more F5s.
The F5 credentials requires Administrator rights as Certificate Manager can’t upload files.
CNAME records are recommended to a zone with minimal or no replication and a low TTL. ie:
- _acme-challenge.example.com CNAME example.com._tls.example.com
- _acme-challenge.example.net CNAME example.net._tls.example.com
- _tls.example.com would have one name server and 30 second TTL or so
- a TSIG key would be created that only needs update access to _tls.example.com
Comments welcome. @JRahm I’m looking at you. ![]()
More info: