I have a self-signed ssl certificate that I am trying to use on my Windows 7 development IIS7 machine. The certificate is working; however I am still getting a mismatched address error in IE9.
This is purely for development and testing purposes.
I’ve been through numerous blogs and postings and have tried to create the certificate using many different techniques. I've tried using both my machine name and localhost for the certificate but I get the same error.
These are the two I have followed most closely:
This is my certificate in the MMC console under Trusted Root Certificates Authorities:
The signature matches the one assigned in IIS:
And my site is bound to that certificate:
Why do I continue to get the error and how can I fix it? Are there any issues using sugdomains on localhost?? All of my sites are run under one IIS app but each one has its own subdomain (multi-tenant).
if the certificate CN or altName dnsName is 'localhost' then the browser will only accept a hostname of 'localhost' (and not something.localhost nor localhost.localdomain etc).