w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
SSLError using requests for python

You can try this.

Verify the path to the cert:

>>> requests.get('https://whatever.com', verify='/path/to/certfile')

Or

>>> requests.get('https://whatever.com', cert=('/path/server.crt', '/path/key'))

http://docs.python-requests.org/en/latest/user/advanced/





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.