Support for HTTPS?

answered
#1

At the moment, I am developing locally on a HTTPS-certified domain that I generated with https://github.com/FiloSottile/mkcert. This way, I can locally test everything that requires a secure site, starting with the Geolocation API and Service Workers. Is there any plan for an HTTPS support in netlify dev?

1 Like
What IS Netlify Dev?
Control URL address for netlify dev
#2

we’ll probably want to support it, yes. i dont know what the plan is at the moment, but its been raised by a few people. are you able to get around it in userland?

#3

Without Netlify Dev, yes, I still use my elaborated jekyll serve:

JEKYLL_ENV=development jekyll serve --ssl-key ./boris.schapira.local+3-key.pem --ssl-cert ./boris.schapira.local+3.pem

with my custom cert.

With Netlify Dev, no, I don’t know how to make things work out.

#4

Can you open an issue in github.com/netlify/netlify-dev-plugin? That would help us track this issue better. I think making local TLS optional should not be complicated, but it requires some thoughts around propagating certificates correctly and ensuring that all the http endpoints use secure connections.

1 Like
#5

Here you are, hope I’ve explained it clearly enough: https://github.com/netlify/netlify-dev-plugin/issues/137

1 Like