Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection thru TLS1.2 is not working #10

Open
msambandam opened this issue Jan 10, 2019 · 5 comments
Open

Connection thru TLS1.2 is not working #10

msambandam opened this issue Jan 10, 2019 · 5 comments

Comments

@msambandam
Copy link

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

did not fix the issue to connect thru TLS1.2. We are still unable to connect to the api. We get the below exception

nhandled Exception: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.

@jujinfu
Copy link

jujinfu commented Jan 17, 2019

To fix this issue, the project has to be adjusted to use .Net 4.5 to be able to support TLS 1.2

I see a lot of people uploaded their pull request to support this, but it seems they didn't take any action

@Mead42
Copy link

Mead42 commented Mar 11, 2019

There is a PR which updates the .Net version available now. Any word if the NuGet package will get updated soon? #9

@dshafik
Copy link
Contributor

dshafik commented Apr 24, 2019

@msambandam can you try with the latest commit now that #9 has been merged.

@vnarkar
Copy link

vnarkar commented May 24, 2019

@dshafik I am still getting this issue with one of the apis, any suggestion?

@vnarkar
Copy link

vnarkar commented May 24, 2019

Upgrading to .net framework 4.7 fixes the issue. Its recommended in this article,
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants