Google-chrome – Getting Chrome to accept self-signed localhost certificate


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, refuse to accept it, even after adding the certificate to the system certificate store under Trusted Roots. Even though the certificate is listed as correctly installed when I click "View certificate information" in Chrome's HTTPS popup, it still insists the certificate cannot be trusted.

What am I supposed to do to get Chrome to accept the certificate and stop complaining about it?

Best Solution

For localhost only

Simply paste this in your chrome:


You should see highlighted text saying: Allow invalid certificates for resources loaded from localhost

Click Enable.


Try typing: thisisunsafe anywhere on the window and the browser *should* let you visit the page.[link]