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

[SSL: CERTIFICATE_VERIFY_FAILED] #89

Open
ivansanantonio opened this issue Nov 8, 2023 · 0 comments
Open

[SSL: CERTIFICATE_VERIFY_FAILED] #89

ivansanantonio opened this issue Nov 8, 2023 · 0 comments

Comments

@ivansanantonio
Copy link

I'm getting the "typical" error:

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1129)

because I have no idea where to:

  1. Disable during testing the certificate verification
  2. Specify the path to the PEM Certificate of our Marketo instance, for productive use.

I've checked the Marketp Tap code:

resp = requests.get(url, params=params, timeout=self.request_timeout)

and the requests.get don't leverage the params of that function to allow us to specify as a boolean, if we want to verify the SSL cert. or specify the path for the certificate:

https://github.com/psf/requests/blob/839a8edec37c81a18ac8332cfbd44f44e1ae6206/src/requests/sessions.py#L550

Has anyone faced this? If so, how did you solved it?
Thanks

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

1 participant