0

**we have a wcf service which consume different service using X509Certificate2. we have installed certificate in personal store (.pfx) and we are exporting .cer in a folder to use while calling the different service. whenever i redeploy the WCF application, System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.

once i reinstall the pfx and export again, it will start working again.**

user3386468
  • 96
  • 1
  • 2
  • 13
  • Is your WCF service deployed in IIS? – Ding Peng Sep 21 '20 at 01:36
  • About the cause of this error, you can refer to this link:https://stackoverflow.com/questions/1600743/could-not-create-ssl-tls-secure-channel-could-the-problem-be-a-proxy-server – Ding Peng Sep 21 '20 at 01:45
  • @DingPeng no it is self hoste – user3386468 Sep 24 '20 at 12:10
  • If it is self-hosted and used for certificate verification, the certificate needs to be bound to the corresponding service port. Will the service port be modified when the WCF application is redeployed? We need to know what will be affected by redeploying WCF applications. – Ding Peng Sep 25 '20 at 05:16
  • @DingPeng WCF service is consuming another service using certificate. there is no change in service port while redeployin. i didn't see this particlar certificate bounded to a service port in another servers. – user3386468 Sep 30 '20 at 07:07
  • Does redeployment mean re-running the self-hosted WCF service? – Ding Peng Oct 08 '20 at 05:31

0 Answers0