Hãy đăng các bước bạn đã thực hiện để thiết lập SSL để làm việc với WCF trên Azure.Các bước để thiết lập SSL để làm việc với WCF trên Azure là gì?
Tôi có valid certificate uploaded thành công (using cspack) và làm việc với phần còn lại của trang web, nhưng sau khi thêm, dịch vụ WCF trước đây của tôi ngừng hoạt động. (Tất cả những gì tôi nhận được là lỗi 404 trở lại Silverlight, điều này không hữu ích lắm. Bỏ phiếu cho bất kỳ ai cũng đến với một số đăng nhập tốt hơn tôi cũng có thể làm để chẩn đoán vấn đề!)
Tôi đã thử nhiều các biến thể trên cấu hình này:
<system.serviceModel>
<!--start added for SSL-->
<bindings>
<basicHttpBinding>
<binding name="SecureBasicHttpBinding">
<security mode="Transport">
<transport clientCredentialType="None" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<!--end added for SSL-->
<behaviors>
<!--start added for SSL-->
<endpointBehaviors>
<behavior name="DisableServiceCertificateValidation">
<clientCredentials>
<serviceCertificate>
<authentication certificateValidationMode="None"
revocationMode="NoCheck" />
</serviceCertificate>
</clientCredentials>
</behavior>
</endpointBehaviors>
<!--start added for SSL-->
<serviceBehaviors>
<behavior name="Silverheat.Cloud_WebRole.API.DataServiceBehavior">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<!-- certificate checking removed -->
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<services>
<service behaviorConfiguration="Silverheat.Cloud_WebRole.API.DataServiceBehavior"
name="Silverheat.Cloud_WebRole.API.DataService">
<!--<endpoint address="" binding="basicHttpBinding" contract="Silverheat.Cloud_WebRole.API.DataService" />-->
<endpoint bindingConfiguration="SecureBasicHttpBinding"
behaviorConfiguration="DisableServiceCertificateValidation"
address="" binding="basicHttpBinding"
contract="Silverheat.Cloud_WebRole.API.DataService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
</system.serviceModel>
thật không may, gỡ lỗi này và nhận được thông tin hơn là thực sự khó khăn vì tôi không thể bước qua và gỡ lỗi với bất kỳ cấu hình từ xa như tôi muốn sử dụng trên máy chủ sống vì bindings tag has problems trên debug (nhưng không sống).
Cảm ơn sự giúp đỡ và sự quan tâm của bạn!