configuration-as-code-plugin icon indicating copy to clipboard operation
configuration-as-code-plugin copied to clipboard

cannot configure custom cert in Manage UpdateSites

Open frank273 opened this issue 5 years ago • 3 comments

Your checklist for this issue

🚨 Please review the guidelines for contributing to this repository.

  • [x] Jenkins version: 2.204.2

  • [x] Plugin version: Configuration as Code: 1.35 UpdateSites Manager plugin: 2.0.0

  • [x] OS: Ubuntu

Description

We are using custom update sites (Jenkins -> Manage Jenkins -> Manage UpdateSites), that we want to maintain with CASC on our jenkins masters. Problem here is: reading the casc reference, we can only specify id and url ... but in the UI we can also check a "Need CA Certificate" checkbox and enter a "CA Certificate" there ...

So via CASC you currently can only add sites, that don't require a custom CA certificate.

Managing Update Sites comes with "UpdateSites Manager plugin", but I already asked in gitter channel, and that plugin looks okay, so we decided to raise an issue here.

frank273 avatar Mar 05 '20 06:03 frank273

We have a custom configurator for update sites which complicates this

timja avatar Mar 05 '20 06:03 timja

You can also just put the certificates under: ${JENKINS_HOME}/update-center-rootCAs/

jetersen avatar Mar 05 '20 06:03 jetersen

We have same issue moving Jenkins from VMs to Kubernetes using helm chart. Our update site implementation (because UpdateSite provide an extension point) also support credentials.

nfalco79 avatar Feb 03 '23 14:02 nfalco79