<p>I was able to get round the certificate error by downloading the <a href="https://plugins.jenkins.io/skip-certificate-check/releases/" rel="nofollow noreferrer">skip-certificate-check</a> plugin to my laptop and manually installing it in the  <code>Deploy Plugin</code> section in the Jenkins UI (at <code>/manage/pluginManager/advanced</code>). This is just for a development instance though, for a production instance you're probably better following some of the <a href="https://stackoverflow.com/questions/24563694/jenkins-unable-to-find-valid-certification-path-to-requested-target-error-whil">other suggestions</a> for fixing certificate issues properly.</p>

CC BY-SA 4.0
2024-01-15T15:24:19.917Z
2024-01-15T15:24:19.917Z
Dave
<p>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.</p>
<p>sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target</p>
<p>Can anyone please suggest me solution?</p>

<jenkins><jenkins-pipeline><jenkins-plugins><installation><jenkins-blueocean>
Jenkin "unable to find valid certification path to requested target" getting error while installing plugin
Jagruti Patil
# Jenkin "unable to find valid certification path to requested target" getting error while installing plugin

(Asked by: username_0 on 2021-09-01)

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?

**Tags:** jenkins, jenkins-pipeline, jenkins-plugins, installation, jenkins-blueocean


---

## 1 answers

### Answer by username_1 on 2024-01-15. Score: 1

I was able to get round the certificate error by downloading the [skip-certificate-check](https://plugins.jenkins.io/skip-certificate-check/releases/) 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](https://stackoverflow.com/questions/24563694/jenkins-unable-to-find-valid-certification-path-to-requested-target-error-whil) for fixing certificate issues properly.


---

