2 ms·
Using a reverse proxy with LE is pretty nice as you can have the proxy centralize everything for both local and downstream hosts (I presently do this with the O
by upofadown 11y ago
Using a reverse proxy with LE is pretty nice as you can have the proxy centralize everything for both local and downstream hosts (I presently do this with the OpenBSD tools). You get a single cert with all the domains used over the entire system. You use the reverse proxy to redirect the challenge location to the local system. LE thinks it is challenging a bunch of different systems but it is just going to the same place over and over again.
Some things don't work all that well behind a TLS proxy. For those systems you need to generate a new outgoing TLS session. You don't need to check the validity of the certificate in most cases and can just use something self signed. I use a never renewed LE cert for convenience.
- xchaotic 11y agoI seem to remember that Wordpress used a similar approach - a single cert for multiple hosts, any downsides to that?
- upofadown 11y agoYou would have to trust the proxy to not redirect to the wrong host as you would not get a certificate warning in that case. The proxy can redirect to any host, anywhere, so that doesn't seem to be an issue that could cause extra worry. In general, all the trust for all the domains would have to rest in the proxy.