Click here to Skip to main content
Sign Up to vote bad
good
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 - 2:43
Edited 27 Apr '12 - 2:47


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 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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 475
1 OriginalGriff 315
2 Maciej Los 260
3 Slacker007 240
4 Aarti Meswania 185
0 Sergey Alexandrovich Kryukov 8,953
1 OriginalGriff 7,134
2 CPallini 3,758
3 Rohan Leuva 3,066
4 Maciej Los 2,528


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 3 May 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid