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

“The underlying connection was closed: An unexpected error occurred on a send.” With SSL Certificate #942

Closed
darul75 opened this issue Mar 31, 2017 · 3 comments
Labels

Comments

@darul75
Copy link

darul75 commented Mar 31, 2017

Based on this thread that solve problem I encountered with https, it would be nice to add a section in documentation about it.

Solution is to prepend rest calls with this configuration:

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

new RestClient(....
@stale
Copy link

stale bot commented Jan 8, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 8, 2020
@repo-ranger
Copy link

repo-ranger bot commented Jan 8, 2020

⚠️ This issue has been marked wontfix and will be closed in 3 days

@repo-ranger repo-ranger bot closed this as completed Jan 11, 2020
@alexeyzimarev
Copy link
Member

Adding to the docs now.

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

No branches or pull requests

2 participants