jenkinsci / configuration-as-code-plugin

Jenkins Configuration as Code Plugin
https://plugins.jenkins.io/configuration-as-code
MIT License
2.69k stars 718 forks source link

cannot configure custom cert in Manage UpdateSites #1305

Open frank273 opened 4 years ago

frank273 commented 4 years ago

Your checklist for this issue

🚨 Please review the guidelines for contributing to this repository.

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.

timja commented 4 years ago

We have a custom configurator for update sites which complicates this

jetersen commented 4 years ago

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

nfalco79 commented 1 year ago

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.