Orchestrate Let's Encrypt TLS certificates validated with DNS challenges
10M+
sudo mkdir -p /docker/{dnsrobocert,letsencrypt}
docker run --rm \
-v /docker/dnsrobocert:/etc/dnsrobocert \
-v /docker/letsencrypt:/etc/letsencrypt \
adferrand/dnsrobocert
/etc/dnsrobocert/config.yml) by following the Configuration section in the User guideOnline documentation (user guide, configuration reference) is available here: DNSroboCert documentation.
Do not hesitate to join the DNSroboCert community on Spectrum if you need help to use or develop DNSroboCert!
DNSroboCert is designed to manage Let's Encrypt SSL certificates based on DNS challenges.
If you are reading these lines, you certainly want to secure all your services using Let's Encrypt SSL certificates, which are free and accepted everywhere.
If you want to secure Web services through HTTPS, there is already plenty of great tools. In the Docker world, one can check Traefik, or nginx-proxy + letsencrypt-nginx-proxy-companion. Basically, theses tools will allow automated and dynamic generation/renewal of SSL certificates, based on TLS or HTTP challenges, on top of a reverse proxy to encrypt everything through HTTPS.
So far so good, but you may fall in one of the following categories:
For the first case, ACME servers need to be able to access your website through HTTP (for HTTP challenges) or HTTPS (for TLS challenges) in order to validate the certificate. With a firewall these two challenges -which are widely used in HTTP proxy approaches - will not be usable: you need to ask a DNS challenge. Please note that traefik embed DNS challenges, but only for few DNS providers.
For the second case, there is no website to use TLS or HTTP challenges, and you should ask a DNS challenge. Of course you could create a "fake" website to validate the domain using a HTTP challenge, and reuse the certificate on the "real" service. But it is a workaround, and you have to implement a logic to propagate the certificate, including during its renewal. Indeed, most of the non-Web services will need to be restarted each time the certificate is renewed.
For the last case, the use of a DNS challenge is mandatory. Then the problems concerning certificates propagation that have been discussed in the second case will also occur.
The solution is a dedicated and specialized tool which handles the creation/renewal of Let's Encrypt certificates, and ensure their propagation in the relevant services. It is the purpose of this project.
Content type
Image
Digest
sha256:88ebafa88…
Size
494.8 MB
Last updated
3 months ago
docker pull adferrand/dnsrobocert:3.27.0