TLS problem (javax.crypto.BadPaddingException) with quarkus-rest-client-reactive #25118
Unanswered
heiko-jakob
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a working sample for a mutual TLS rest-client with quarkus-rest-client. But switching from quarkus-rest-client to quarkus-rest-client-reactive results in problems loading the TLS keys with a javax.crypto.BadPaddingException.
Is this really a bug or am i doing something wrong ?
I've created the keys with keytool:
I've built a example to reproduce the bug https://github.com/heiko-jakob/reactivetlsbug
You can clone it with:
To check out and testing the working non-reactive version
$ git checkout works && ./gradlew test
To reproduce the bug, check out and test the non working reactive version to demonstrate the bug
$ git checkout bug && ./gradlew test
The only difference between reactive and non-reactive version is the build.gradle
The stack tracke shows issues reading the key files:
Beta Was this translation helpful? Give feedback.
All reactions