Error exception: 'System.Net.WebException: The underlying connection was closed: Could not establish

Error exception: 'System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception

Best Answer

  • SupDev1
    Answer ✓

    Certificate is not setup properly. Go to Trusted Root Certificate Authorities > Certificates and check name, enable status etc. If this is a more serious problem then you should look up link1, link2 and link3.

Answers