Answers for "turn off ssl certificate verification python"

1

ssl unverified certificate python

import ssl 

# creates an unverified certificate with ssl even without certificate
try:
    _create_unverified_https_context = ssl._create_unverified_context
except AttributeError:
    pass
else:
    ssl._create_default_https_context = _create_unverified_https_context

#upvote this if it helped you
Posted by: Guest on June-09-2020

Code answers related to "turn off ssl certificate verification python"

Python Answers by Framework

Browse Popular Code Answers by Language