Skip to content

Commit

Permalink
Keystore Validation step (#199)
Browse files Browse the repository at this point in the history
* OK valid cert date -- return

* check step return

* all elements of alias
  • Loading branch information
voxparcxls authored Feb 16, 2024
1 parent 05e5612 commit 6d66544
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cws-installer/src/main/java/jpl/cws/task/CwsInstaller.java
Original file line number Diff line number Diff line change
Expand Up @@ -2504,9 +2504,6 @@ private static int validateKeystoreTruststore() {
print(" Days Until expiration: " + numDays + " days");
print("");
return 0;
} else {
print(" [OK]");
print("");
}
}
} catch (Exception e) {
Expand All @@ -2517,7 +2514,9 @@ private static int validateKeystoreTruststore() {
log.error("Keystore Storepass ERROR: " + e.getMessage());
return 1;
}
return 0; // OK
print(" [OK]");
print("");
return 0; // no warnings
}

/**
Expand Down

0 comments on commit 6d66544

Please sign in to comment.