How to Configure Jenkins and the Artifactory Jenkins Plugin to Use TLSv1.2 Only with the IBM SDK 8

How to Configure Jenkins and the Artifactory Jenkins Plugin to Use TLSv1.2 Only with the IBM SDK 8

AuthorFullName__c
Pavan Gonugunta
articleNumber
000003587
ft:sourceType
Salesforce
FirstPublishedDate
2017-02-10T17:15:38Z
lastModifiedDate
2023-01-22T11:05:35Z
VersionNumber
4

When using Jenkins as a build server in conjunction with IBM SDK 8, you must use the TLSv1.2 SSL protocol on your load balancer or reverse proxy. As the IBM SDK will not use TLSv1.2 by default, set the following parameters in MAVEN_OPTS:

-Dhttps.protocols=TLSv1.2
-Djdk.tls.client.protocols=TLSv1.2
-Dcom.ibm.jsse2.overrideDefaultTLS=true
-Dcom.ibm.jsse2.overrideDefaultProtocol=TLSv12

Keywords: IBM SDK, SSL, Jenkins