Deepak Kumar
Deepak Kumar

Reputation: 11

Could not establish secure channel for SSL/TLS with authority 'www.docusign.net'

I am getting error (Could not establish secure channel for SSL/TLS with authority 'www.docusign.net'.) when we are calling login web method of this web service (i.e. https://www.docusign.net/api/3.0/credential.asmx)

Upvotes: 0

Views: 1095

Answers (2)

Himanshu Arkane
Himanshu Arkane

Reputation: 5

I was facing the same problem. You just need to paste this code on the top of that code that was throwing this exception.

ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;

And don't forget to add the namespace

using System.Net;

Upvotes: 1

Drew
Drew

Reputation: 5029

There's a few things this could be. I'd recommend checking the following first:

  • TLS 1.0 is not supported - you'll need to confirm your application is using TLS 1.1 or 1.2

  • Your application may not trust the DocuSign certificate chain. From the DocuSign Trust Site's Certificate list, the DigiCert root CA (969 bytes): Root CA for Demo/NA1/NA2/NA3/EU SSL certificates must be accepted.

  • Networking issues: Your firewall may be altering or blocking the connection to DocuSign. Can you make a successful SOAP Ping?

Upvotes: 1

Related Questions