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

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

http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx[^]

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.

Regards,

Praveen

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

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:

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



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