Python 3 urllib ignore SSL certificate verification
问题 I have a server setup for testing, with a self-signed certificate, and want to be able to test towards it. How do you ignore SSL verification in the Python 3 version of urlopen ? All information I found regarding this is regarding urllib2 or Python 2 in general. urllib in python 3 has changed from urllib2 : Python 2, urllib2 : urllib2.urlopen(url[, data[, timeout[, cafile[, capath[, cadefault[, context]]]]]) https://docs.python.org/2/library/urllib2.html#urllib2.urlopen Python 3 : urllib