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

Enable tls hostname verification in c++ client it is failing but works with java client #174

Open
2 tasks done
sindhushreem opened this issue Jan 9, 2023 · 1 comment

Comments

@sindhushreem
Copy link

Search before asking

  • I searched in the issues and found nothing similar.

Version

2.8.2

Minimal reproduce step

Client CN: myd-hvmxxxx.swinfra.net
Url of proxy :pulsar+ssl://myd-hvmxxxx.swinfra.net:31051
Below is the error we are seeing in c++ client:
UDX-2.9.0-5:ERROR:ClientConnection(456)[10.199.82.99:43104 -> 10.199.81.77:31051] Handshake failed: certificate verify failedSun Dec 25 01:07:54 2022
UDX-2.9.0-5:ERROR:ClientImpl(43
Uploading Downloads.zip…
2)Error getting topic partitions metadata: ConnectError

attaching the files for reproducing .

What did you expect to see?

connection from cpp client to work when tls hostname is enabled .

What did you see instead?

connection errors .

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@izumo27
Copy link
Contributor

izumo27 commented Jan 11, 2023

I found the same problem and I'm trying to fix it in this PR.
#126

FYI c++ client was separated from pulsar repository several months ago.
apache/pulsar#17724

@BewareMyPower BewareMyPower transferred this issue from apache/pulsar Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants