I am trying to get SSL, WCF and REST under Azure, but the page does not even load.
Below are the steps that I followed:
1) I matched CNAME www.mydomain.com with my azuresite.cloudapp.net
2) I purchased an SSL certificate for www.mydomain.com and installed it correctly in my azuresite.cloudapp.net service project.
3) I deployed the WCF REST service for Azure and started it. Below is the configuration of my web.config.
The http (non-https) binding version is working correctly. My service url, http://www.mydomain.com/service.svc/sessions worked fine.
When I deployed the project using web.config below, the inclusion of SSL, https://www.mydomain.com/service.svc/sessions is not pulled at all.
What am I doing wrong?
<system.serviceModel> <services> <service name="Service"> <endpoint address="" binding="webHttpBinding" bindingConfiguration="TransportSecurity" contract="IService" behaviorConfiguration="RestFriendly"> </endpoint> </service> </services> <behaviors> <endpointBehaviors> <behavior name="RestFriendly"> <webHttp></webHttp> </behavior> </endpointBehaviors> </behaviors> <bindings> <webHttpBinding> <binding name="TransportSecurity"> <security mode="Transport"> <transport clientCredentialType="None"/> </security> </binding> </webHttpBinding> </bindings> </system.serviceModel>
source share