-
-
Notifications
You must be signed in to change notification settings - Fork 25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it have any side effects for older runtime versions
On a server with TLSv1.2 Enabled |
Thanks @res0nance ! This issue was around for a while, but I have never got to it. I will see whether it is possible to have a fix on the WinSW side (maybe a new executable for winsw/winsw#302), but this improvement definitely makes sense |
@oleg-nenashev I tried to use service point manager in that code fix originally but that still refused to download the jar. Since I can't seem to compile it locally it was a little difficult to debug. |
Thanks @res0nance ! I have released the module and created a PR against the Jenkins Core: jenkinsci/jenkins#4010 |
I'd guess this is no longer required for WinSW 2.6.0+ after winsw/winsw#394 . Could you please confirm it @res0nance @NextTurn ? |
I'm not sure about this. That PR seems to only affect Windows 7 and Server? Perhaps the right fix is to remove that condition and this change. Unfortunately I do not have a windows machine I can use to test due to the current working situation. |
All-in-one article Transport Layer Security (TLS) best practices with the .NET Framework. SummaryIf your app targets .NET Framework 4.7 or later versionsDon't do anything. If your app targets .NET Framework 4.6 - 4.6.2Set If your app targets .NET Framework 3.5If your app targets, or runs on, .NET Framework 4.6 or later versionsIf your app runs on .NET Framework 4.6, but targets an earlier versionThis PR. If your app runs on .NET Framework 4.7 or later versions, but targets an earlier versionSet Support for TLS 1.1/1.2Supported and enabled by default on Windows 8.0 and later versions. Not supported on Windows Vista. |
Anyway, I think we should set app context switches programmatically rather than depending on the use of .exe.config file. |
|
Enable strong cryptography for .NET 4.6
https://issues.jenkins-ci.org/browse/JENKINS-51577