The request was aborted: Could not create SSL/TLS secure channel

后端 未结 30 1784
遇见更好的自我
遇见更好的自我 2020-11-22 01:21

We are unable to connect to an HTTPS server using WebRequest because of this error message:

The request was aborted: Could not create SSL/TLS secur

30条回答
  •  被撕碎了的回忆
    2020-11-22 01:51

    After many long hours with this same issue I found that the ASP.NET account the client service was running under didn't have access to the certificate. I fixed it by going into the IIS Application Pool that the web app runs under, going into Advanced Settings, and changing the Identity to the LocalSystem account from NetworkService.

    A better solution is to get the certificate working with the default NetworkService account but this works for quick functional testing.

提交回复
热议问题