Brian Ketelsen

Caddy and Let's Encrypt

Caddy and Let's Encrypt make a perfect team.
Brian Ketelsen 1 min read
Caddy and Let's Encrypt

I spent all of 5 minutes configuring Caddy to automatically pull content from github, post-process it with hugo and serve it up with fresh SSL/TLS certificates from Let's Encrypt.

When you think about it, that's pretty damned amazing. Caddy already made web serving easy. It powers everything I do now:, and a dozen more. Add hugo to the mix and you have a really powerful publishing platform that is fully automated with just a git push. I really love that Caddy polls my github repository and publishes new content. It's a zero-overhead proposition to publish a new post.

After configuring the Let's Encrypt integration, my esteem for Caddy leveled up to 11. I did almost nothing to enable it. Changed a flag in the command line to invoke Caddy, changed the URL in the Caddy configuration file from http to https. In the background, Caddy requested and installed the certificates for me, and will continue to renew them before they expire. SSL Everywhere is no longer a dream, it's real, it's here, and the tools couldn't be easier to use.

More from Brian Ketelsen

Brian Ketelsen

Subscribe to get the latest posts directly to your inbox.

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to Brian Ketelsen.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.