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

Option to pass in the master certificate for the jnlp container

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            felipecassiors Felipe Santos added a comment -

            This could actually be an environment variable in the inbound-agent container. It would enable a more seamless injection way from the Kubernetes plugin.

            felipecassiors Felipe Santos added a comment - This could actually be an environment variable in the inbound-agent container. It would enable a more seamless injection way from the Kubernetes plugin.

            People

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

              Dates

                Created:
                Updated: