Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: IIS7
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 27-Apr-12 3:43am
Edited 27-Apr-12 3:47am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 definition:
 
<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.
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 3 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100