How to bypass ssl certificate validation #673
-
|
Hi team, How can i bypass certificate validation to false. {'status_code': 500, 'headers': {}, 'body': {'errors': [{'message': "HTTPSConnectionPool(host='api.crowdstrike.com', port=443): Max retries exceeded with url: /devices/queries/devices/v1?filter=hostname%3A%27WDSI249%27 (Caused by SSLError(SSLCertVerificationErrr(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)')))"}], 'resources': []}} I want to do something like this: api = TheHiveApi('https:xxxxxxxxxxx', 'xxxxxxx',cert=False) Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @hermanmaleiane - If you are using a FalconPy class, you can pass If you're making this call via requests directly, you should review the content here. The |
Beta Was this translation helpful? Give feedback.
Hi @hermanmaleiane -
If you are using a FalconPy class, you can pass
ssl_verifyand set it to False, examples can found here.If you're making this call via requests directly, you should review the content here. The
verifykeyword can be a little strange, and is not always a boolean.