Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.x: examples/security/webserver-signatures test fails with JDK 11.0.11 (works with 11.0.22) #38

Open
barchetta opened this issue Apr 10, 2024 · 0 comments

Comments

@barchetta
Copy link
Member

This might be OK, but I wanted to at least document it. If you build examples/security/webserver-signatures with JDK 11.0.11 it fails with:

[INFO] Running io.helidon.security.examples.signatures.SignatureExampleConfigMainTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.712 s <<< FAILURE! - in io.helidon.security.examples.signatures.SignatureExampleConfigMainTest
[ERROR] io.helidon.security.examples.signatures.SignatureExampleConfigMainTest  Time elapsed: 0.712 s  <<< ERROR!
io.helidon.common.pki.PkiException: Failed to read PKCS12 keystore: keystore:FILE:/Users/jdipol/GitHub/barchetta/helidon-examples/examples/security/webserver-signatures/src/main/resources/keystore.p12
	at io.helidon.security.examples.signatures.SignatureExampleConfigMainTest.initClass(SignatureExampleConfigMainTest.java:31)
Caused by: java.io.IOException: Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
	at io.helidon.security.examples.signatures.SignatureExampleConfigMainTest.initClass(SignatureExampleConfigMainTest.java:31)
Caused by: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
	at io.helidon.security.examples.signatures.SignatureExampleConfigMainTest.initClass(SignatureExampleConfigMainTest.java:31)

Works fine with JDK 11.0.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant