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

Pavan Gonugunta
2023-01-22 11:05

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