Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63012

MF Application Automation tools plugin not working with ALM https

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Using the latest Application automation tools plugin release 6.3, my connection to my same ALM server will work using http and port 8080 but when I try https and 8443 it fails to connect.

      I tried adding the ALM certificate to the Jenkins cacerts file in the security folder of the embedded java but that did not help.

      Is connecting to an ssl ALM instance supported and if so are there any special requirements to get it to work?

        Attachments

          Activity

          jmyates86 Joshua Yates created issue -
          ptofan Paul-Adrian Tofan made changes -
          Field Original Value New Value
          Assignee Maria Narcisa Galan [ narcisamgalan ] Roy Lu [ roy_lu ]
          Hide
          roy_lu Roy Lu added a comment -

          Yes ssl ALM is supported. Could you upload the console output of the build.

          Show
          roy_lu Roy Lu added a comment - Yes ssl ALM is supported. Could you upload the console output of the build.
          Hide
          jmyates86 Joshua Yates added a comment -

          Hello Roy,

          I figured it out, here is what I did to fix it, you probably ought to have instructions on this on the documentation so that users know how to do it.

          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"

          Show
          jmyates86 Joshua Yates added a comment - Hello Roy, I figured it out, here is what I did to fix it, you probably ought to have instructions on this on the documentation so that users know how to do it. 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"
          Hide
          roy_lu Roy Lu added a comment -

          Joshua Yates

          Great. Thank you for providing such information. Actually, this is no need when executing some build steps of this plugin. May I ask which build step are you using to execute ALM tests?

          Show
          roy_lu Roy Lu added a comment - Joshua Yates Great. Thank you for providing such information. Actually, this is no need when executing some build steps of this plugin. May I ask which build step are you using to execute ALM tests?
          roy_lu Roy Lu made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]

            People

            Assignee:
            roy_lu Roy Lu
            Reporter:
            jmyates86 Joshua Yates
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: