Closed neena2504 closed 3 years ago
@LarryKlugerDS Please assist, we have followed the C# example here https://github.com/docusign/code-examples-csharp I have posted my code above, we still receive an error mentioned above.
There's a StackOverflow answer for this. You're using an older, insecure version of the TLS (SSL) encryption protocol.
PS. Next time, this type of question will be seen sooner if you ask it on StackOverflow with tag docusignapi
Regards, Larry
Thank you for your response. I will try this and respond. Sure, thanks for the suggestion!
It was resolved after using newer version of TLS, thanks a lot!
StackTrace: at DocuSign.eSign.Client.ApiClient.RequestJWTUserToken(String clientId, String userId, String oauthBasePath, Byte[] privateKeyBytes, Int32 expiresInHours, List`1 scopes)
Following is my logic to call the Docusign SDK:
var filePath = PrepareFullPrivateKeyFilePath(_docuSignSetting.PrivateKeyFile ?? "");
// logic to populate User & Session etc.. }
I tried the C# example, works fine. I get the above error only when I call the DocusignService (class library which has the logic to interact with Docusign) through specific pages of my website. It works when I call via couple of pages and doesn't through some.. Everything looks same however I see that Fiddler has the following error when this fails for me. Unable to figure out the reason: "fiddler.network.https> HTTPS handshake to account-d.docusign.com (for #7714) failed. System.Security.Authentication.AuthenticationException A call to SSPI failed, see inner exception. < The message received was unexpected or badly formatted" Also I see that the request has some parts missing when it fails. Any help would be appreciated.