-
Notifications
You must be signed in to change notification settings - Fork 41.1k
In a reactive web app, SslBundle can no longer open store file locations without using a 'file:' prefix #43953
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
Comments
This comment has been minimized.
This comment has been minimized.
@snicoll I've created a branch here: 3.4.x...nosan:spring-boot:43953, |
Thanks for the ping @nosan. I did start working on it but had trouble in reproducing the problem in a unit test. I need to check what I did back then. I'll review your proposal and follow-up accordingly. |
@nosan this isn't what I had but yours look interesting. Can you submit a PR please? |
Closing in favor of PR #44535 |
This is another issue related to #43274.
I am getting an exception with the SslBundles not being able to load the keystore using the reactive stack. This error occurs in SB 3.4.0, SB 3.4.1 and SB 3.4.2.
The configuration looks like this:
This is the exception I got:
When changing the property to
spring.ssl.bundle.jks.asa-server-ssl.keystore.location=file:/jks/keystore.jks
, the service starts up again.BUT...
In spring boot admin, the service is still marked as DOWN because the same error is thrown (as warning) by the new SslHealthIndicator (https://docs.spring.io/spring-boot/api/java/org/springframework/boot/actuate/ssl/SslHealthIndicator.html):
It throws the same exception as above...
Disabling the SSL health indicator with
management.health.ssl.enabled=false
marks the service green again in spring boot admin. But I think that is not a proper option.The text was updated successfully, but these errors were encountered: