Certificado SSL não verificado 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 
Unknown dev