Stories from the Web Crawling trenches in self-signed certificate

Accessing HTTPS Sites with Self-Signed Certs in Python Requests

Author: Mohan Ganesan

Date: Feb 3, 2024

Methods to securely access HTTPS sites using self-signed certificates with Python Requests: certifi bundle, custom PEM certs, REQUESTS_CA_BUNDLE, SSLContext.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!