Trying to get rid of the mismatch error in IE8 when testing on localhost.
Tried installing the Cert as admin, in IE8 and use the trusted list.
Can not change the CommonName in the cert.
Tried Selfssl.exe and MakeCert
winhttpcertcfg – did not try this, but not sure it will work on win7
MakeCert created a file, but it was a .CER file and IIS7 is not seeing it.
Tried placing it in the MMC certificate folders, for “Computer Account” (personal and Trusted Root…)folders. Actually just about everyfolder.
Win 7 VS2010 IE8
Need localhost https selfsigned cert to not throw error i IE8?
I would not mind the MakeCert.exe if IIS7 would see the .CER file or convert it.
Was able to create and associate the certs with help from user295734’s answer on Feb 15 2011. Steps that I followed:
cd "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin"makecert -r -pe -n "CN=localhost" -sky exchange -sv C:\selfcert.pvk C:\selfcert.cer-pi anythingrather than-pi a.pvk2pfx -pvk C:\selfcert.pvk -pi a -spc C:\selfcert.cer -pfx C:\selfcert.pfxa.
c:\Selfcert.pvkb.
c:\Selfcert.cerc.
Selfcert.pfx