-
Notifications
You must be signed in to change notification settings - Fork 775
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
Not working with TLS 1.2 Download Source .Net 4.0 #25
Labels
Comments
@bluebits88 UI of the AutoUpdater.NET runs on another thread. If ServicePointManager.SecurityProtocol persists across threads it should work. The only way to know is by trying it. |
ServicePointManager.SecurityProtocol = (ServicePointManager.SecurityProtocol & SecurityProtocolType.Ssl3) | (SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12); ... anywhere in your application should fix this. |
I have a website on https letsencrypt and everything works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
your Package seems currently not be able to connect to a HTTPS TLS 1.2 Source when used in .Net Framework 4.0.
I had to include the following lines of code to make it work:
ServicePointManager.SecurityProtocol = Tls12;
I don't think i can place this code outside of DLL into my main Application, can I?
The text was updated successfully, but these errors were encountered: