Using a custom trust store
You must use a custom trust store in the Jenkins build to establish a trusted and secure connection between the Jenkins server and Test .
- Saved the Certificate Authority (CA) assigned to
Test.Note: You can contact the administrator of Test if you do not have a copy of the CA.
- Installed Java on the computer from where you access the Test UI.
If the SSL certificate assigned to Test is signed by an internal CA, then you must download and import the CA to a custom trust store. You can then use the custom trust store in the Jenkins build step to establish a trusted and secure connection between the Jenkins server and Test.
When you use Red Hat Enterprise Linux (RHEL) operating systems for Jenkins, you must run the Jenkins service with a user who has access to the custom trust store path to utilize the custom trust store feature. To change the Jenkins user, you must open the /etc/sysconfig/jenkins file and set the JENKINS_USER to the user who has access to the custom trust store path.
$JENKINS_USER= <username>For example, $JENKINS_USER= <user1>
You can then run the following commands to change the ownership of the Jenkins folder:
chown -R username:username /var/lib/jenkins
chown -R username:username /var/cache/jenkins
chown -R username:username /var/log/jenkins
For example,
chown -R user1:user1 /var/lib/jenkins
chown -R user1:user1 /var/cache/jenkins
chown -R user1:user1 /var/log/jenkins
/etc/init.d/jenkins restart