Calling WCF over HTTPS in Service Fabric : The request was aborted: Could not create SSL/TLS secure channel

前端 未结 2 1939
抹茶落季
抹茶落季 2021-01-24 05:06

I\'m calling a WCF service over HTTPS. => The certificates are ok. See screenshot:

The client certificates are installed under my account and local computer. Both avai

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-24 06:11

    There is a 3rd way that is simpler than the above ones which should work for WCF. If this service is running under the Network Service account, then you can put "protocol=https" in the service Endpoint declaration like this, which will do the acling;

    
      
      
    
    

    Optionally you can return a certificate to the client and also run this service under a different security privilege. See here for more details https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-runas-security#assign-a-security-access-policy-for-http-and-https-endpoints

提交回复
热议问题