I have created a self-signed SSL certificate for the localhost CN. Firefox accepts this certificate after initially complaining about it, as expected. Chrome and IE, however
This post is already flooded with responses, but I created a bash script based on some of the other answers to make it easier to generate a self-signed TLS certificate valid in Chrome (Tested in Chrome 65.x
). Hope it's useful to others.
self-signed-tls bash script
After you install (and trust) the certificate, don't forget to restart Chrome (chrome://restart
)
Another tool worth checking out is CloudFlare's cfssl
toolkit:
cfssl