PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed - jenkins

8/30/2020

I am facing below error while doing the kubernetes deployment from jenkins.

ERROR: ERROR: java.lang.RuntimeException: io.kubernetes.client.openapi.ApiException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed

Objective : How can I skip SSL certificate issue ?

-- prabha vk
java
jenkins
kubernetes

1 Answer

8/30/2020

Add this property given below in kubernetes .yaml configuration file.

insecure-skip-tls-verify: true
-- Anish B.
Source: StackOverflow