Answers for "urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed"

0

SSL: CERTIFICATE_VERIFY_FAILED,

#temporary fix when facing SSL error
#put this code in the class SSL error occur

import ssl
ssl._create_default_https_context = ssl._create_unverified_context
Posted by: Guest on October-05-2021
0

urllib.error.urlerror: <urlopen error [ssl: certificate_verify_failed] certificate verify failed (_ssl.c:852)>

1)//import ssl

2)//ssl._create_default_https_context = ssl._create_unverified_context
Posted by: Guest on July-29-2021

Code answers related to "urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed"

Python Answers by Framework

Browse Popular Code Answers by Language