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

SSL issue when running HTTPS request #61

Open
dominicklee opened this issue Aug 19, 2021 · 1 comment
Open

SSL issue when running HTTPS request #61

dominicklee opened this issue Aug 19, 2021 · 1 comment

Comments

@dominicklee
Copy link

Hi, I am running an issue when try to do a request that uses HTTPS URL. The Visual Studio IDE shows this error when I attempt to make the request:

An unhandled exception of type 'System.Net.WebException' occurred in System.dll
Additional information: The request was aborted: Could not create SSL/TLS secure channel.

From other articles, I have already put the following in my code, but to no avail:

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

Can someone please tell me what is the problem and what code is missing to fix it? Thanks!

@dominicklee
Copy link
Author

@davidalpert Any ideas on how we can fix this without rebuilding the DLL?

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

No branches or pull requests

1 participant