-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use hardcoded jks type for loading cacerts
it seems with jdk9 KeyStore.getDefaultType() did change fixes #79
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bb8d074
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you notice what
KeyStore.getDefaultType()
returns under J9 (maybe its a bug) ?bb8d074
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jdk9 does return "pkcs12" - I am using the on jdk9 from oracle and it produces the same error as the one from openjdk.
can not say if this is a bug and a change of the default type.
once they change the format of cacerts file, then we have another problem ;)
bb8d074
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heh nice ☕ indeed, thanks!