News for hackers. Stuff that matters.
Re:Caddy – The HTTP/2 Web Server with Automatic HTTPS by captncraig on Wednesday April 25, 2018 @08:15AM (#16920785)
Let's encrypt can issue certs without needing a public route to your machine if you use the dns challenge. Here's what I do:

1. Add a public A record (or host file) local.mydomain.tld to 127.0.0.1.

2. Host my dns with cloudflare (other providers have plugins too), and install the caddy plugin to do the dns challenge for certs.

3. Caddy can then get certs for local.mydomain.tld and serve them locally.

There are no comments on this comment yet.