I've got a project which I need to now add SSL to, the entire website will run under HTTPS, can someone guide me to how to do this? i've never setup ssl before, is there a tutorial on how to setup SSL on .Net 4, IIS 7.5, along with using WCF, as I'm using
WCF WSHttpBinding currently to talk to my service, so i need to keep that there. this way all talk between website and service will be under https.
To setup SSL you need to have an SSL certificate from a certificate authority such as GoDaddy, or Verisign. Once you have completed all steps to get your certificate you need to install it on your server into the Certificate Authority. Then in IIS click
on the Server node and choose Certificate Manager, import your cert. On the Default website set SSL to be on. There is a lot of information for how to do this. Search Godaddy.com for installing SSL.
Marked as answer by Angie xu - MSFT on Dec 19, 2012 12:05 AM
WCF client and service can also communicate under https and you can just modify wcf service url to start with "https://" in the Web.config.
.....
<client>
<!-- specifies the endpoint to use when calling the service -->
<endpoint address="https://localhost:8000/ServiceModelSamples/Service/CalculatorService"
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ICalculator"
contract="ServiceReference1.ICalculator" name="WSHttpBinding_ICalculator">
<identity>
<userPrincipalName value="migree@redmond.corp.microsoft.com" />
</identity>
</endpoint>
</client>
...
pdassnyc
Member
221 Points
228 Posts
getting started with ssl and wcf
Dec 10, 2012 06:08 PM|LINK
hi,
I've got a project which I need to now add SSL to, the entire website will run under HTTPS, can someone guide me to how to do this? i've never setup ssl before, is there a tutorial on how to setup SSL on .Net 4, IIS 7.5, along with using WCF, as I'm using WCF WSHttpBinding currently to talk to my service, so i need to keep that there. this way all talk between website and service will be under https.
aptbid2002
Member
244 Points
52 Posts
Re: getting started with ssl and wcf
Dec 10, 2012 06:42 PM|LINK
To setup SSL you need to have an SSL certificate from a certificate authority such as GoDaddy, or Verisign. Once you have completed all steps to get your certificate you need to install it on your server into the Certificate Authority. Then in IIS click on the Server node and choose Certificate Manager, import your cert. On the Default website set SSL to be on. There is a lot of information for how to do this. Search Godaddy.com for installing SSL.
CommDev
Member
112 Points
26 Posts
Re: getting started with ssl and wcf
Dec 11, 2012 02:38 AM|LINK
About how to setup SSL on IIS, microsoft has an specific artical and you can follow the below URL:
http://www.iis.net/learn/manage/configuring-security/how-to-set-up-ssl-on-iis
WCF client and service can also communicate under https and you can just modify wcf service url to start with "https://" in the Web.config.
Angie xu - M...
All-Star
18664 Points
1590 Posts
Microsoft
Re: getting started with ssl and wcf
Dec 16, 2012 07:09 AM|LINK
Hi
Configure an IIS-hosted WCF service with SSL(http://msdn.microsoft.com/en-us/library/hh556232.aspx)
this is also available for you.
Kind regards
Feedback to us
Develop and promote your apps in Windows Store