Skip to content
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

Verify OIDC WebClient works with the host verification #24063

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

sberyozkin
Copy link
Member

@sberyozkin sberyozkin commented Mar 2, 2022

This PR is very simple, it only confirms the host verification works, I could not get initially why it did not, but then I got it, the self-signed cert did not have a CN=localhost, so I regenerated them.
quarkus.oidc.tls.verification=certificate-validation leads to HttpClientOptions.setVerifyHost(false), so it is only used to verify the certificate is crypto sound, quarkus.oidc.tls.verification=required in addition keeps the default WebClient behavior where the host verification is enforced by default.
I'll follow up with another PR which will make quarkus.oidc.tls.verification=required a default option

@cescoffier
Copy link
Member

@gsmet any reason why only a sub-part of the jobs has been executed?

@geoand
Copy link
Contributor

geoand commented Mar 3, 2022

I assume that the GIB plugin (correctly) determined that no changes where made to no need run the tests?

@sberyozkin sberyozkin merged commit 5abea47 into quarkusio:main Mar 3, 2022
@quarkus-bot quarkus-bot bot added this to the 2.8 - main milestone Mar 3, 2022
@sberyozkin sberyozkin deleted the oidc-host-verification branch March 3, 2022 09:34
@gsmet gsmet modified the milestones: 2.8 - main, 2.7.4.Final Mar 7, 2022
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.

4 participants