Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

ISSUE-2793: TLS Hostname verification undefined for C++/python client #400

Closed
sijie opened this issue Dec 27, 2019 · 3 comments
Closed

ISSUE-2793: TLS Hostname verification undefined for C++/python client #400

sijie opened this issue Dec 27, 2019 · 3 comments

Comments

@sijie
Copy link
Member

sijie commented Dec 27, 2019

Original Issue: apache#2793


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.

@Huanli-Meng
Copy link

need a host verification code example through python client.

@Huanli-Meng
Copy link

Huanli-Meng commented Jun 4, 2020

Doc is updated, here is the doc PR: apache#7162

update the docs for the following releases: 2.5.2---2.2.0: apache#7182

@Huanli-Meng
Copy link

Docs for Pulsar releases: master--2.2.0 are merged. I think this issue can be closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants