Google-chrome – Chrome is not accepting the IIS self-signed certificate

certificategoogle-chromessl

I'm developing on my local machine with a self-signed certificate in IIS.
Everytime I open Chrome and go to my site, initially I get an error 'Your connection is not private'.
I then have to click 'Advanced' and 'Proceed to [sitename]'. I don't want to perform that manual action every time. Also I want to run via https on my local machine, so please no advice of not doing that.

I followed the steps here: Exporting the certificate to a file and then importing it in Chrome.

I see the certificate in my Trusted Root Certificate Authorities.
Also when I now click the lock icon in my address bar I see this:

enter image description here

enter image description here

I already restarted Chrome, but keep getting this message. What can I do?

Best Answer

Yes this post is old. Here is the answer:

Why is this happening? The commonName was deprecated in RFC 2818 (published in 2000), but support still remains in a number of TLS clients including Internet Explorer. https://www.chromestatus.com/feature/4981025180483584

What do I need to do? You need to issue a web certificate using Certificates MMC console for Computer account and specify the san: attribute.

Refer to the Microsoft article below: https://technet.microsoft.com/en-us/library/ff625722(v=ws.10).aspx