Prasanna Natarajan

Setup https for Rails localhost development

Looks like we can easily setup https locally while doing rails development using mkcert.

Here are the steps:

Great! This is one step closer in making your local development as much similar to your production setup as possible. This will bring to your attention a lot of ssl related errors before even deploying your app.

I wanted to set this up for my hugo site too (this site) locally. But the dev server that comes bundled with hugo doesn’t support ssl. So yeah, no https while testing the site locally.