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

Viewed 1716

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 ?

1 Answers

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

insecure-skip-tls-verify: true
Related