Created
July 21, 2022 21:29
-
-
Save bioshazard/6c29542ff72986cce6650a8016d5b17c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Completely Disable SSL Validation in Python | |
# ty Misty, https://stackoverflow.com/questions/15445981/how-do-i-disable-the-security-certificate-check-in-python-requests#comment127677868_66207445 | |
import ssl | |
ssl.SSLContext.verify_mode = property(lambda self: ssl.CERT_NONE, lambda self, newval: None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment