3

We are trying to set up jenkins. When we trying to install plugin getting the below error. We also tried to import the trusted certificate into the JVM directly still getting same error.

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

Can anyone please suggest me solution?

1 Answer 1

1

I was able to get round the certificate error by downloading the skip-certificate-check plugin to my laptop and manually installing it in the Deploy Plugin section in the Jenkins UI (at /manage/pluginManager/advanced). This is just for a development instance though, for a production instance you're probably better following some of the other suggestions for fixing certificate issues properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.