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

jenkins-runner.sh doesn’t accept httpsKeyStore or httpsKeyStorePassword options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • packaging
    • 10.11.4, any recent Jenkins version

      At https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins, the following instructions are given for specifying the keystore and keystore password:

      $ sudo defaults write /Library/Preferences/org.jenkins-ci httpsKeyStore /path/to/your/keystore/file
      $ sudo defaults write /Library/Preferences/org.jenkins-ci httpsKeyStorePassword <keystore password>
      

      However, https://github.com/jenkinsci/packaging/blob/master/osx/Library/Application%20Support/Jenkins/jenkins-runner.sh doesn’t include these options in its list of arguments to process. This means that when launching Jenkins on Mac OS X using the LaunchDaemons infrastructure, these options do not get propagated to Java and are not seen by Jenkins.

      Fixing this is important to get Jenkins working, for example, in corporate networks where alternative keystores for CA certificate chains need to be given.

            kohsuke Kohsuke Kawaguchi
            anesbit2 Andrew Nesbit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: