jimwooley

.Net sdk broken against sandbox due to disabling TLS 1.0

0 votes
According to the comment in this thread from the REST forum, Harris indicates that ESL turned off support for TLS 1.0 this week. This breaks the .Net SDK default implementation because that solution targets .Net 4.5. The fix against the current executable of the SDK is to add the following line when configuring your RslClient:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
I wonder if it makes sense to a) update the SDK to target 4.6.1 instead of 4.5 and/or b) add this call inside of the SDK itself?

Reply to: .Net sdk broken against sandbox due to disabling TLS 1.0

0 votes
Is it why I am getting since yesterday the following error when creating any package with the .NET SDK? Could not create a new package. Exception: Object reference not set to an instance of an object.

Reply to: .Net sdk broken against sandbox due to disabling TLS 1.0

0 votes
@Jim The next release of the SDKs should include this fix. I will double check this and get back to you. @Frederic Yes, that is most probably why. Right now, TLS 1.0 has been disabled on all our sandbox environments. You will need to update to TLS 1.1 and above. This change will happen in production on March 10 2018.
Haris Haidary OneSpan Technical Consultant

Reply to: .Net sdk broken against sandbox due to disabling TLS 1.0

0 votes
@Haris, thanks for your quick reply. Any ETA for the updated SDK that will include this fix ?

Reply to: .Net sdk broken against sandbox due to disabling TLS 1.0

0 votes
Not at this moment. However, the fix that Jim posted is a one liner that you simply add to your code, for example, right before you create your EslClient.
Haris Haidary OneSpan Technical Consultant

Reply to: .Net sdk broken against sandbox due to disabling TLS 1.0

0 votes
For sure, I will use this in the meantime Thanks

Reply to: .Net sdk broken against sandbox due to disabling TLS 1.0

0 votes
Your blog post called "eSignLive and TLS Communication: What’s The Latest?" states , "NET 3.5 or below: TLS 1.1 and 1.2 are not supported and there is no workaround." This is not accurate. Microsoft added support for TSL 1.1 and 1.2 in 2017 with a Windows update. This issue is a defect in your SDK.

Reply to: .Net sdk broken against sandbox due to disabling TLS 1.0

0 votes
Thanks for the info. I will update my blog post accordingly.
Haris Haidary OneSpan Technical Consultant

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off