Sign inSign up

joellinn/acme-proxy

By joellinn

•Updated over 3 years ago

Image
0

456

joellinn/acme-proxy repository overview

⁠ACME Proxy

Forward ACME challenge requests to local clients. Clients on the intranet with valid local dns entries can request certs using standard acme tools.

⁠Breaking Changes

ACME_DOMAINS has been renamed to ACME_LEGAL_HOSTS to match command line argument.

⁠Configuration

Make sure your docker host uses the intranet dns server for name resolution.

By default, all domains are allowed. You should limit this to the domain prefixes used on the intranet to not leak requests. The environment variable ACME_LEGAL_HOSTS holds a regex to filter incomming requests with.

ACME_LEGAL_HOSTSmatches
.*any string/domain (default)
^intra\.example\.com$exacty intra.example.com
(\.i\.example\.com)$|(\.iana\.org)$any subdomain under i.example.com or any subdomain under iana.org

Keep in mind that a regex like iana\.org$ also matches a domain like whateverisinfrontiana.org, so better use something like (\.|^)iana.org$ in that case.

The timeout for the proxied acme token requests can be set in milliseconds using the ACME_TIMEOUT variable.

⁠Starting

Change 8888 to the port you want your firewall/gateway to forward requests to

docker run -p 8888:8080 -e ACME_LEGAL_HOSTS="(\.i\.example\.com)$" -d joellinn/acme-proxy

Tag summary

Content type

Image

Digest

sha256:ee39a2b70…

Size

2.8 MB

Last updated

over 3 years ago

docker pull joellinn/acme-proxy