-
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
Quarkus is not able to determine trust store type and requires to configure file type property now #39151
Comments
/cc @pedroigor (bearer-token), @sberyozkin (bearer-token,jwt,security) |
@michalvavrik yes, it's expected - We could set the |
BTW the title says truststore but the description is configuring the keystore. Configuring a truststore with a file using |
BTW, I explicitly removed the "JKS" by default, as, as I said, this convention comes from old times. |
What is the current default store type, P12 ? It should be marked as a breaking change. I agree it is a legacy default type, JKS. May be another option is to deprecate it as a default type as we may have a lot of users still having it in the JKS format |
no, there is no default anymore. We do an education guess based on the extension (if not set explicitly by the user). |
We could add .keystore and .trustore as potential match for JKS (and warn the user that these are deprecated) |
Alright, I expected to see breaking changes in the https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.9, but as it is expected, I'll close issue. Thanks |
Description of the |
let me check the exception and log messages. BTW, I documented the breaking change. Can you check if it makes sense? https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.9#keystore-and-trust-store-default-format-change |
I think it explains change perfectly, thanks. |
Describe the bug
After #39106 I can't just set the
META-INF/resources/server.keystore
keystore and let Quarkus determine trust store type. I useExpected behavior
Worked before, should work now.
Actual behavior
Exception is thrown and app startup fails
How to Reproduce?
Steps to reproduce the behavior:
git clone https://github.com/quarkus-qe/quarkus-test-suite
cd quarkus-test-suite/http/http-advanced-reactive
mvn clean verify -Dit.test=HttpAdvancedReactiveIT
Output of
uname -a
orver
Fedora 38
Output of
java -version
21
Quarkus version or git rev
999-SNAPSHOT
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.3
Additional information
No response
The text was updated successfully, but these errors were encountered: