Skip to content

Commit

Permalink
fixup! Load default Java truststore for --use-system-truststore
Browse files Browse the repository at this point in the history
  • Loading branch information
oneonestar committed Dec 24, 2024
1 parent 25f89e7 commit 3259fe8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ else if (osName.contains("Mac")) {

KeyStore trustStore;
if (systemTrustStoreType.isPresent()) {
trustStore = KeyStore.getInstance(systemTrustStoreType.orElseGet(KeyStore::getDefaultType));
trustStore = KeyStore.getInstance(systemTrustStoreType.get());
trustStore.load(null, null);
}
else {
Expand Down

0 comments on commit 3259fe8

Please sign in to comment.