For different purposes, we might need to enable HTTPS in our LOCALHOST environment. In this video, I have tried to show how we can do that in few minutes. 🎯
Enjoy 🌸
/// Commands to generate certificate with OpenSSL ///
openssl genrsa -out key.pem
openssl req -new -key key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem
SUBSCRIBE to YouTube Channel - https://www.youtube.com/c/TheDestroDevShow?sub_confirmation=1
LIKE FB Page - https://www.facebook.com/the.destro.dev.show/
Follow on Twitter - https://twitter.com/destro_mas
Follow on DEV - https://dev.to/destro_mas
Made with ❤️ in Berlin!
Cheers!
👋
Top comments (2)
Another tool I find pretty useful when I just need some self signed certs is mkcert: github.com/FiloSottile/mkcert
Thanks for sharing! 👋