Add Let's Encrypt support to emma's HAProxy #13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FreeBSD's HAProxy package lacks LUA support so we have to use an external ACME implementation. I decided to use
acme.sh
because it is extensible and has few dependencies (just bash, socat and openssl).The setup looks like this:
acme.sh
responds to the challenges on behalf of HAProxy.On the VMs (nextcloud) we use already dehydranted ... should we use one solution everywhere?
The problem with dehydrated is that it doesn't work without a real HTTP server because answers the ACME challenges by letting the HTTP service serve them for it. HAProxy ist just a proxy and requires the ACME client to speak HTTP itself. Due to these constraints we can't use dehydrated with HAProxy without installing a HTTP server as well.
I see no pressing reason to standardize on one ACME implementation.