demo_requests_get_verify.py:
import requests url = 'https://begtut.com/python/demopage.php' #make the request with the path to a TLS certificate: x = requests.get(url, verify='folder/tlscertificate') print(x.status_code)
➜ begtut>python demo_requests_get_verify.py
200