-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
JDK17 + org.bouncycastle:bctls-fips
throw a security unamed module exception
#25516
Comments
/cc @Karm, @jerboaa, @sberyozkin |
org.bouncycastle:bctls-fips
throw s security unamed module exceptionorg.bouncycastle:bctls-fips
throw a security unamed module exception
Also CC @zakkak |
@pjgg Hi, but |
The coverage that we did is strongly inspired by Quarkus IT, but we have added the following line to our test: With this line, we force BouncyCastle as a security provider. In our scenario, without this line we got the following error:
|
@pjgg I think this test is not correctly setup. The test should not deal with adding the providers, see https://github.com/quarkusio/quarkus/tree/main/integration-tests/bouncycastle-fips-jsse. BC FIPS on its own is not sufficient. |
Thank you @sberyozkin you are right. I confirm that is working as expected when you are running your test with |
Describe the bug
Quarkus 2.7.5.Final
When I make a rest query with VertxClient using BouncyCastleJsseFips certificates, I am getting the following error:
Works as expected with Open JDK11:
Reproducer: https://github.com/quarkus-qe/quarkus-test-suite/pull/638/files#diff-bd95ff6a40ed24d38581c32ca8cb864a206ac0c255386e4a289f499a2c642c2fR30
cmd:
mvn clean verify -Dall-modules -pl security/bouncycastle-fips -Dit.test=BouncyCastleFipsJsseIT#verifyBouncyCastleFipsAndJsseProviderAvailability
Output of
java -version
openjdk version "17.0.1" 2021-10-19 OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12) OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: