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

eror #7

Open
mamasexeno opened this issue Jan 20, 2023 · 2 comments
Open

eror #7

mamasexeno opened this issue Jan 20, 2023 · 2 comments

Comments

@mamasexeno
Copy link

WebException: The request was aborted: Could not create SSL/TLS secure channel.

@effi10
Copy link
Contributor

effi10 commented Jan 31, 2023

Hi

I have the same issue (in a VSTO addon - I haven't this issue in WinForm apps)

@effi10
Copy link
Contributor

effi10 commented Jan 31, 2023

I found a solution : add this line before httpclient call.

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;

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

2 participants