-
Notifications
You must be signed in to change notification settings - Fork 106
SSL verification failed #106
Copy link
Copy link
Closed
Description
When using urllib2 to open any https link the following error is given:
urllib2.URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
Found a workaround by using:
import ssl
ctx = ssl._create_unverified_context()
urllib2.urlopen("https://link", context=ctx)
This works for now, but obviously a proper fix is preferred.
Reactions are currently unavailable