New Discussion

Notifications

You’re not receiving notifications from this thread.

Local SSL Certificates with Caddy Discussion

10
General

I'm curious... if you've needed SSL for local development before, what were you building?

My work application runs on two domains and myriad subdomains, which can be a pain to load up in Chrome or Safari (etc.) if you don't have legit certificates installed and all that. We found that by running SSL locally, it helped ensure everything worked on development as it does on production and staging. That said, a tool like Caddy would have saved some headaches back in the early days of getting that going locally!

Great video, thanks! I'm very interested to see more about Caddy in future videos :)

Great video. I would be very interested in seeing a deeper dive on the reverse proxy features of Caddy!

Yep! The cool thing about Caddy is you can use it with anything, not just Rack apps.

puma-dev also works with non rack apps :-)

Oh yeah?

Yep.

echo 10000 > ~/.puma-dev/nodeapp.test

That's all :-)

It would be cool to see that setup for production as well.

@chris With regards to your question about local dev and needing SSL...I've worked on several enterprise apps for businesses where I authenticated using an SSL cert and not an email/password login. The nice part is you have instant access by going to the site; the harder part is that you require that SSL authentication setup everywhere in order to work. For some local dev container setups, I've been looking at using nginx as a separate container to handle certs.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 88,834+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.