I create a self signed certificate in IIS7.5 and I am getting an error that follows
There is a problem with this website's security certificate.
The security certificate presented by this website was issued for a different website's address.
Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
We recommend that you close this webpage and do not continue to this website.
Click here to close this webpage.
Continue to this website (not recommended).
More information
If you arrived at this page by clicking a link, check the website address in the address bar to be sure that it is the address you were expecting.
When going to a website with an address such as https://example.com, try adding the 'www' to the address, https://www.example.com.
If you choose to ignore this error and continue, do not enter private information into the website.
For more information, see "Certificate Errors" in Internet Explorer Help.
How to fix this error?
Its not an error its a warning, the certificate you generated is not trusted by the browser.
To supress this on machines you control you can add the certificate to the trusted root CA store (Example).
If this machine is on the internet/accessed by machines you do not control, you cannot alter this behaviour unless you purchase a cert from a trusted issuing CA.
Only you can trust a self signed certificate. If you want one that is universally trusted, you'll need to buy one from an issuing authority. However, it appears that this particualr certificate was issued for a different domain from the one that is being visited. FIx this, and you'll probably get another warning about trust.
You can also perform this manually if you have the certificate file. Use the Windows management console tool - certmgr.msc. Among other features, it allows you to manually import self-signed certificates.
http://windows.microsoft.com/en-us/windows-vista/view-or-manage-your-certificates
Right-click the “Internet Explorer” icon,
then choose “Run as administrator“
or just the application in “Internet Explorer”.
Visit the website, and choose the option to “Continue to this website (not recommended).”.
Click where it says “Certificate error” in the address bar, then choose “View certificates“.
Select “Install Certificate…“.
Select “Next“.
Select the “Place all certificates in the following store” option.
Select “Browse…“.
Choose “Trusted Root Certification Authorities“, then select “OK“.
Select “Yes” when prompted with the security warning.
Select “OK” on the “The import was successful” message
Select “OK” on the “Certificate” box.
Rerun the Applications.