Skip to content

Conversation

jmartisk
Copy link
Contributor

@jmartisk jmartisk commented Aug 20, 2025

Fixes #49623

This makes the TLS configuration resolution a bit more reasonable and predictable.

The main fix is that when a GraphQL client declares a specific TLS configuration, it will be used (currently it uses the default one instead of the named one if the default one has some trust options defined, which is clearly a bug).

As a side fix, when the deprecated properties (quarkus.smallrye-graphql-client.CLIENT-NAME.key-store and quarkus.smallrye-graphql-client.CLIENT-NAME.trust-store) are defined, they will now always take precedence over TLS configuration (logging a warning if an explicit TLS config is supplied too). Before this PR, they would or would not take precedence depending on whether the default TLS configuration had trust options defined or not, which is very weird.

I'm planning to remove the deprecated properties soon anyway, but I wanted to split it into steps so that this step can be backported to 3.20.

This comment has been minimized.

@gsmet
Copy link
Member

gsmet commented Aug 20, 2025

To be backported to 3.20, it needs to be backported to 3.26 too, adding the label.

Copy link

quarkus-bot bot commented Aug 20, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 98026e3.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@jmartisk jmartisk merged commit 72e5719 into quarkusio:main Aug 20, 2025
25 checks passed
@jmartisk jmartisk deleted the main-issue-49623 branch August 20, 2025 09:42
@quarkus-bot quarkus-bot bot added this to the 3.28 - main milestone Aug 20, 2025
@gsmet gsmet modified the milestones: 3.28 - main, 3.26.1 Aug 27, 2025
@jmartisk jmartisk modified the milestones: 3.26.1, 3.20.3 Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GraphQL client's resolution of TLS configuration is wrong
4 participants