Click here to Skip to main content
15,903,785 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I have followed the steps given in the following URL to create Self Signed Certificate and attach it to localhost:80.[^]

I am able to finish until the last screen. I could not clear the Certificate Error in the Internet Address Bar eventhough I installed the certificate under Trusted Root Certification Authorities.

How can i clear it.



[edit]Link converted to a proper link - OriginalGriff[/edit]
Updated 27-Apr-12 2:47am

1 solution

You most likely need to add explicit base addresses for the both protocols so WCF knows you want to bind to both. Try adding this to your <service> definition:

        <add baseAddress="http://your-hostname-here/" />
        <add baseAddress="https://your-hostname-here/" />

Also, make sure you're accessing the service via the machine's WINS/DNS name or you need to add an explicit host header to the web site instance under IIS.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900