You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TrustStores can have null pass phrase. We are unable to use fabric8io client with our custom truststore which has no pass phrase (PEM format) because the code by default uses changeit when pass phrase is null. This shouldn't be the case.
trustStore.load(in, null); is OK with java KeyStore/TrustStore.
null string => null char[]
Also, production systems typically do not changeit as their default pass phrase. So such an assumption in code should never be made.
The text was updated successfully, but these errors were encountered:
shawkins
added a commit
to shawkins/kubernetes-client
that referenced
this issue
May 15, 2023
https://github.com/fabric8io/kubernetes-client/blob/8cf4804a039bc221aed2f6bae3d4c2568874fb5f/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/internal/CertUtils.java#LL83C1-L83C1
TrustStores can have null pass phrase. We are unable to use fabric8io client with our custom truststore which has no pass phrase (PEM format) because the code by default uses
changeit
when pass phrase isnull
. This shouldn't be the case.trustStore.load(in, null);
is OK with java KeyStore/TrustStore.null string => null char[]
Also, production systems typically do not
changeit
as their default pass phrase. So such an assumption in code should never be made.The text was updated successfully, but these errors were encountered: