Skip to content

Commit 10017e7

Browse files
committed
Quick comment fix
1 parent 91b88e7 commit 10017e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/src/main/java/io/kubernetes/client/util/SSLUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public static KeyStore createKeyStore(InputStream certInputStream, InputStream k
9696
// First let's try PKCS8
9797
privateKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(keyBytes));
9898
} catch (InvalidKeySpecException e) {
99-
// Otherwise try PKCS8
99+
// Otherwise try PKCS1
100100
RSAPrivateCrtKeySpec keySpec = decodePKCS1(keyBytes);
101101
privateKey = keyFactory.generatePrivate(keySpec);
102102
}

0 commit comments

Comments
 (0)