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

huangapple go评论75阅读模式
英文:

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

问题

我在使用Jenkins进行Kubernetes部署时遇到以下错误。

错误:错误:java.lang.RuntimeException:io.kubernetes.client.openapi.ApiException:javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException:PKIX路径验证失败:java.security.cert.CertPathValidatorException:签名检查失败

目标: 如何跳过SSL证书问题?

英文:

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

得分: 1

将以下属性添加到 Kubernetes 的 .yaml 配置文件中。

insecure-skip-tls-verify: true
英文:

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

insecure-skip-tls-verify: true

huangapple
  • 本文由 发表于 2020年8月30日 14:52:42
  • 转载请务必保留本文链接:https://go.coder-hub.com/63654786.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定