8168861: AnchorCertificates uses hardcoded password for cacerts keystore
Reviewed-by: vinnie, mullan
This commit is contained in:
parent
c8163c0388
commit
a556619f93
@ -58,7 +58,7 @@ public class AnchorCertificates {
|
||||
try {
|
||||
cacerts = KeyStore.getInstance("JKS");
|
||||
try (FileInputStream fis = new FileInputStream(f)) {
|
||||
cacerts.load(fis, "changeit".toCharArray());
|
||||
cacerts.load(fis, null);
|
||||
certs = new HashSet<>();
|
||||
Enumeration<String> list = cacerts.aliases();
|
||||
String alias;
|
||||
|
Loading…
Reference in New Issue
Block a user