Skip to content

Instantly share code, notes, and snippets.

@diegoiglesias
diegoiglesias / 2019-https-localhost.md
Created March 12, 2020 11:20 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).