Skip to content

Commit

Permalink
modify keystore storepass error
Browse files Browse the repository at this point in the history
  • Loading branch information
voxparcxls committed Feb 1, 2024
1 parent a795c65 commit a40cfdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cws-installer/src/main/java/jpl/cws/task/CwsInstaller.java
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ private static void getKeystorePassword() {
try {
cws_keystore_storepass = Files.readString(Paths.get(storepassFilePath)).trim();
} catch (IOException e) {
e.printStackTrace();
log.error("ERROR: " + e.printStackTrace());
}
}
}
Expand Down Expand Up @@ -2511,9 +2511,9 @@ private static int validateKeystoreTruststore() {
}
} catch (Exception e) {
print(" [WARNING]");
print(" The path '" + cws_tomcat_conf + SEP + "' may not contain .keystore file or holds an invalid keystore.");
print(" The path '" + cws_tomcat_conf + SEP + "' may not contain .keystore file OR holds a keystore that is mismatched with password in '~/.cws/creds' or cws_keystore_storepass configuration.");
print("");
e.printStackTrace();
log.error("ERROR: " + e.printStackTrace());
return 1;
}
return 0; // OK
Expand Down

0 comments on commit a40cfdb

Please sign in to comment.