splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

Open huangwenwenlili opened this issue 8 years ago • 5 comments

connection.request("POST", "/services/auth/login", body, headers) occur this error: ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

huangwenwenlili avatar May 23 '18 12:05 huangwenwenlili

Hi @huangwenwenlili, which versions of Python, the Python SDK, and Splunk are you using?

shakeelmohamed avatar May 23 '18 14:05 shakeelmohamed

You could just disable certificate verification: https://github.com/splunk/splunk-sdk-python/commit/5807d9076e708f21f3949fafea304485396b5d99

mew1033 avatar May 31 '18 20:05 mew1033

@huangwenwenlili Are you still encountering this issue (even after disabling certificate validation) ? If so, please provide the information requested by @shakeelmohamed.

skylasam avatar Jun 22 '18 17:06 skylasam

This should be resolved here https://github.com/splunk/splunk-sdk-python/pull/233

dan1 avatar Dec 04 '18 23:12 dan1

Should be resolved now.

dan1 avatar Feb 13 '19 21:02 dan1