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

CURL and Requests.session() returning different values during SSL and CA verification #6832

Open
mittal-umang opened this issue Nov 24, 2024 · 2 comments

Comments

@mittal-umang
Copy link

mittal-umang commented Nov 24, 2024

I don't know if anyone has seen this happen. but when i'm using Requests.Session() for making a requests to HTTPS URL with SSL certificate and CA cert verification it doesn't give correct response.
Whereas when i use the same certs(SSL and CA Cert) with CURL command it works seamlessly.

This is causing confluentinc/confluent-kafka-python#1850

Expected Result

Requests.Session() should work and not respond with a SSL Verification Error

Actual Result

SSLVerificationError

Reproduction Steps

No actual steps but try making a API call to HTTPS url with SSL Verification and CA Cert.

@sigmavirus24
Copy link
Contributor

I have no issues verifying TLS with a proper trust bundle and a server providing the full chain. Is this specific to Kafka or are you experiencing this with something other than Kafka as well?

@allamiro
Copy link

Could you specify the versions of the Schema Registry and Kafka you are using? Additionally, did this issue arise following a certificate update or library /client updates, or did it occur suddenly without any recent changes?

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

3 participants