Hacker News new | ask | show | jobs
by bxparks 1959 days ago
I'm a bit confused. You got a local MQTT server, and a local Traefik proxy, all behind your local firewall. How does Traefik get its LetsEncrypt certificate from behind the firewall when LetsEncrypt can't see Traefik?

The last time I tried to use LetsEncrypt for a local server, several years ago, this could not be done. Has this changed?

1 comments

> How does Traefik get its LetsEncrypt certificate from behind the firewall when LetsEncrypt can't see Traefik?

DNS registration. You can get letsencrypt validation through a DNS token for validation. You can generally script that using the API provided by your DNS provider.

With Traefik it’s just setting up the config and any authentication. After that Traefik will manage the lifecycle of the cert.