-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
TLS Hostname verification undefined for C++/python client #2793
Comments
I'm currently adding documentation to security-tls-transport.md for hostname verification, and am stating that it doesn't work for C++. Please update the docs when this is fixed. |
hostname verification has been added by #1215 |
@sijie that change only added the implementation. documentation needs to be updated too. |
@jennifer88huang this requires documentation updates. |
Got it. |
hostname verification has been added in C++ in #2475 |
@ivankelly , the doc is updated, could you please help review it? here is the PR link: #7162, Thanks. |
…n clients (#7182) Fixes #2793 ### Motivation Based on description in issue #2793, code example of host verification for C++ and Python clients are not correct. Therefore, update the security-tls-transport.md doc. Doc for master has been updated and merged. This PR is for updating docs for previous releases. ### Modifications 1: update the TLS hostname verification code example for C++ and Python clients. 2: fix link errors. 3: re-arrange doc heading levels. 4: update the docs for the following releases: 2.5.2---2.2.0
…n clients (apache#7182) Fixes apache#2793 ### Motivation Based on description in issue apache#2793, code example of host verification for C++ and Python clients are not correct. Therefore, update the security-tls-transport.md doc. Doc for master has been updated and merged. This PR is for updating docs for previous releases. ### Modifications 1: update the TLS hostname verification code example for C++ and Python clients. 2: fix link errors. 3: re-arrange doc heading levels. 4: update the docs for the following releases: 2.5.2---2.2.0
…n clients (apache#7182) Fixes apache#2793 ### Motivation Based on description in issue apache#2793, code example of host verification for C++ and Python clients are not correct. Therefore, update the security-tls-transport.md doc. Doc for master has been updated and merged. This PR is for updating docs for previous releases. ### Modifications 1: update the TLS hostname verification code example for C++ and Python clients. 2: fix link errors. 3: re-arrange doc heading levels. 4: update the docs for the following releases: 2.5.2---2.2.0
I've not tested with code, but it looks like TLS hostname verification is a mess for the C++ client (and python by extension).
For binary connections, no hostname verification takes place as far as I can see. For http connections (for lookups) it takes place every time.
I suspect this made it through testing since the tls certs used to test C++ use localhost as the common name. We should expose the ability to add the host verification in the configuration.
The text was updated successfully, but these errors were encountered: