-
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
Add support for the TLS registry to the (reactive) REST client extension #41005
Comments
/cc @geoand (rest-client) |
@cescoffier if you are not already working on this, I'll take it |
Go ahead @geoand ! |
👍🏼 |
I think I need to wait for #40990 to be merged |
Furthermore, I don't see how I can access the configured keystore and trustore password. I need those due to how the programmatic API works |
That's a good point. Can't you pass the Keystore objects directly? The problem passing password is about work duplication. The registry already opened the keystore, check the passwords (plural), validity, aliases... If we pass the password, there is a good chance you will redo part of that expensive work. |
I'll have to take another look. |
BTW, what did you need from the mailer PR? I removed all the "additions" I made to the TLS registry from that PR as they were not required. We can imagine keeping the config objects around. I'm only worried about the cost of maintaining references to these objects. |
I don't remember what I needed really, I'll have to get back to this and see |
Looks like since we decided to not use the default configuration, I don't need anything else.
It seems that I'll have to add a few things, but it should be doable. |
#41153 add the necessary support |
Introduce support for the TLS Registry in the REST Client
Closes: quarkusio#41005 (cherry picked from commit 586472c)
Description
With the integrated TLS registry, it should be possible to configure the reactive REST client (Quarkus Rest client) using the TLS registry instead of the specific configuration.
Implementation ideas
This is the code used for the mailer:
The text was updated successfully, but these errors were encountered: