Search code examples
javajenkinsjenkins-plugins

Certificate error during Jenkins plugin update


Since a few months I have problems updating Jenkins plugins.

As soon as I want to update more than one or two plugins at a time I get the following message for all other plugins:

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

However, if I then update each of these plugins individually and restart the Jenkins server in between, it works.

About my System:

  • Jenkins 2.321
  • OpenJDK 11

Solution

  • Solution is to update the JRE: https://issues.jenkins.io/browse/JENKINS-67756