Caddy, self-signed certificates and Certificate Authorities for web development
hub.docker.com·6h·
Discuss: DEV
Flag this post

This is a very quick post, just to summarize some of the last days findings. Often the answer to the questions is explicit once you know about it, but it is very hard to find out when you don't know what you are looking for.

  1. Using Caddy HTTPS for localhost

I have known for a long time that Caddy is good because it offers out-of-box Let's Encrypt (and ZeroSSL) certificates, but I didn't know how to use them, because the last time I tried to use them for development it was a pain. I decided to give it another try.

The first thing to know is that you need to explicitly set localhost for the site in order to Caddy try to use a self signed certificate. It can later try to configure it, but it seems to need to install a library for that...

Similar Posts

Loading similar posts...