How to connect Jenkins to HTTPS ALM?
Category:
Question ID: 109744
2
0

We are using Jenkins and the Micro Focus Application Automation Tools Plugin for Jenkins. We are able to connect Jenkins to our ALM server using HTTP, but when we use HTTPs it is unable to get a connection and fails with “Error Opening a Connection to the ALM server” any ideas on how we can get around this?

Marked as spam
Posted by (Questions: 100, Answers: 5)
Asked on July 31, 2020 11:52 am
305 views
Answers (1)
1
Private answer

If you are using ALM as HTTPs you will need to add the ALM certificate into Jenkins:

1. Save the ALM certificate, you can do this from any web browser, you navigate to the site, in this case ALM then you click the lock icon in the top of the browser bar and select "view certificates" it should allow you to export that certificate as a ".cer" file.

2. Once you have the certificate someone with access to the Jenkins server will need to load that certificate and add it as a trusted certificate into the jenkins "cacerts" file. On my Jenkins server it is using the embedded jre in Jenkins and the cacerts file is located at"C:\Program Files (x86)\Jenkins\jre\lib\security"  but this may be different on your jenkins server.

3. You can use java keytool or "keystore explorer" to add that certificate as "trusted" to the cacerts file that jenkins uses, the default password for all cacerts files is "changeit"

Marked as spam
Posted by (Questions: 0, Answers: 364)
Answered on July 31, 2020 11:53 am
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top