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

Error with SSL: CERTIFICATE_VERIFY_FAILED #181

Closed
KrisAtherton opened this issue Dec 16, 2021 · 0 comments
Closed

Error with SSL: CERTIFICATE_VERIFY_FAILED #181

KrisAtherton opened this issue Dec 16, 2021 · 0 comments

Comments

@KrisAtherton
Copy link

KrisAtherton commented Dec 16, 2021

MaxRetryError: HTTPSConnectionPool(host='#####', port=443): Max retries exceeded with url: /api/atlas/v2/search/advanced (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]

If you encounter this error below you need to adjust add verify parameter for the post and delete calls to false in the client python script. So it looks something like:-
deleteEntity = requests.delete(
atlas_endpoint,
headers=self.authentication.get_authentication_headers(),
verify=False)
results = self._handle_response(deleteEntity)
This will throw relevant warning but work.

wjohnson added a commit that referenced this issue Feb 27, 2022
This closes #181 by supporting PurviewClient(..., requests_verify=False)
which will pass verify_false to any API call used by the client.
wjohnson added a commit that referenced this issue Feb 27, 2022
This closes #181 by supporting PurviewClient(..., requests_verify=False)
which will pass verify_false to any API call used by the client.
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