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

Option to pass in the master certificate for the jnlp container

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • kubernetes-plugin
    • None

      As pointed by the agent.jar:

      java -jar agent.jar [options...]
       -cert VAL                       : Specify additional X.509 encoded PEM
                                         certificates to trust when connecting to
                                         Jenkins root URLs. If starting with @ then
                                         the remainder is assumed to be the name of
                                         the certificate file to read.
      

      It would be much welcome if we could have an option in the cloud provider to specify the master server certificate (or even better: auto-extract the certificate from the $JENKINS_URL), and pass in as to the jnlp container through the cli option `-cert`.

      This would facilitate a lot for those who run the Jenkins master outside the cluster and signs it with an internal CA.

            Unassigned Unassigned
            felipecassiors Felipe Santos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: