r = requests.get(url)
print(r.text)
提示 6:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
cafile = 'c:\\nginx\\conf\\cert.crt'
r = requests.get(url,verify=cafile)
print(r.text)
提示 requests.exceptions.SSLError: no appropriate commonName or subjectAltName fields were found
print(r.text)
提示 6:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
cafile = 'c:\\nginx\\conf\\cert.crt'
r = requests.get(url,verify=cafile)
print(r.text)
提示 requests.exceptions.SSLError: no appropriate commonName or subjectAltName fields were found