PKIX path building failed error message Bee Bot July 13, 2022 12:16 Updated The content of this article has moved to the new documentation site. Related articles How to install a new SSL certificate on Traditional Platforms? How to install a new SSL certificate on Modern Platforms? How to Start, Stop or Restart your Instance? Pipeline - Build failed due to MissingPropertyException: No such property: env How to find JNLP Node's secret key remotely? Comments 8 comments Sort by Date Votes Rohit Thakur June 27, 2017 16:02 I was doing right always while import the certificate in $JAVA_HOME/jre/lib/security/cacert and still the issue didnt resolve for me.I have forget to mention java opts for keysotre and password. -Djavax.net.ssl.keyStore=$JAVA_HOME/jre/lib/security/cacert -Djavax.net.ssl.keyStorePassword=changeit 0 Denys Digtiar June 28, 2017 22:35 Hi Rohit, Could you please try to change the java opts from `keyStore` to `trustStore`. Please check if this article helps you How to install a new SSL certificate 1 Danilo Ischiavolini Chaves July 19, 2018 18:51 Hi, There any process to do this in CJE ? 0 Denys Digtiar July 19, 2018 23:26 Hi Danilo, The process for CJE 1.x clusters is described in: How to import certificates to a CJE cluster 0 Danilo Ischiavolini Chaves July 20, 2018 12:19 Hi Denys, I'm using CJE 2 there is any documentation? 0 Allan Burdajewicz March 15, 2019 06:53 Hi Danilo, Id you are referring to CloudBees Core on Modern Cloud (Kubernetes), then the solution is to use a sidecar injector. See also Deploy Self Signed certificates in Masters and Agents. Regards, 0 Jason Statham May 22, 2019 09:58 I tried all possible solution but still not resolve above issue also followed below website steps https://wiki.jenkins.io/display/JENKINS/Starting+and+Accessing+Jenkins My jenkins version is 2.178 issue - FATAL: com.microsoft.tfs.core.exceptions.TECoreException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetNeed solution, because stucked here from last 1 week 0 Venkatesh Seerapu September 18, 2019 05:49 Hi @jason https://support.cloudbees.com/hc/en-us/articles/217078498/comments/360001985732 Did you found any sollution for this issue, please suggest as I'm also facing same issue with Jenkins Email configuration? 0 Please sign in to leave a comment.
Comments
8 comments
I was doing right always while import the certificate in
$JAVA_HOME/jre/lib/security/cacert and still the issue didnt resolve for me.I have forget to mention java opts for keysotre and password.
Hi Rohit,
Could you please try to change the java opts from `keyStore` to `trustStore`.
Please check if this article helps you How to install a new SSL certificate
Hi,
There any process to do this in CJE ?
Hi Danilo,
The process for CJE 1.x clusters is described in: How to import certificates to a CJE cluster
Hi Denys,
I'm using CJE 2 there is any documentation?
Hi Danilo,
Id you are referring to CloudBees Core on Modern Cloud (Kubernetes), then the solution is to use a sidecar injector. See also Deploy Self Signed certificates in Masters and Agents.
Regards,
I tried all possible solution but still not resolve above issue also followed below website steps
https://wiki.jenkins.io/display/JENKINS/Starting+and+Accessing+Jenkins
My jenkins version is 2.178
issue -
Hi @jason
https://support.cloudbees.com/hc/en-us/articles/217078498/comments/360001985732
Did you found any sollution for this issue, please suggest as I'm also facing same issue with Jenkins Email configuration?
Please sign in to leave a comment.