How to disable SSL certificate verification in Pyppeteer
If you see an error message like
pyppeteer_ignore_https.txt
pyppeteer.errors.PageError: net::ERR_CERT_AUTHORITY_INVALID at https://10.9.5.12/in Pyppeteer and you are sure that you just want to skip certificate verification change
pyppeteer_launch.py
browser = await launch()to
pyppeteer_launch_ignore_https.py
browser = await launch({"ignoreHTTPSErrors": True})or add "ignoreHTTPSErrors": True to the list of parameters to launch if you already have other parameters there. This will just ignore the net::ERR_CERT_AUTHORITY_INVALID and other, related HTTPS errors.
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow