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

Optionally disable hostname verification for SslMode.TUNNEL #56

Open
shubha-rajan opened this issue Jan 26, 2023 · 0 comments
Open

Optionally disable hostname verification for SslMode.TUNNEL #56

shubha-rajan opened this issue Jan 26, 2023 · 0 comments

Comments

@shubha-rajan
Copy link
Contributor

Hi, we're working on supporting the MariaDB r2dbc driver in the Cloud SQL Java Connector. Cloud SQL certificates provide the instance name as the Common Name instead of a domain, which means that verifying hostnames will fail. Some examples:

Currently, the MariaDB driver forces hostname verification when using SslMode.TUNNEL. I have a patch pull request in which I added the option to disable host verification for SSL Tunneling which I will link here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant