File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -72,3 +72,25 @@ is `true` (`false` by default). To disable, set it to `false` at [Operator-level
7272``` java
7373ConfigurationServiceProvider . overrideCurrent(o - > o. checkingCRDAndValidateLocalModel(false ));
7474```
75+
76+
77+ ### Q: How to fix ` sun.security.provider.certpath.SunCertPathBuilderException ` on Rancher Desktop and k3d/k3s Kubernetes
78+
79+ It's a common issue when using k3d and the fabric8 client tries to connect to the cluster an exception is thrown:
80+
81+ ```
82+ Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
83+ at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
84+ at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:352)
85+ at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:295)
86+ ```
87+
88+ The cause is that fabric8 kubernetes client does not handle elliptical curve encryption by default. To fix this, add
89+ the following dependency on the classpath:
90+
91+ ``` xml
92+ <dependency >
93+ <groupId >org.bouncycastle</groupId >
94+ <artifactId >bcpkix-jdk15on</artifactId >
95+ </dependency >
96+ ```
You can’t perform that action at this time.
0 commit comments