首页 > 代码库 > python2/3 https忽略ssl证书验证

python2/3 https忽略ssl证书验证

import ssl

ssl._create_default_https_context = ssl._create_unverified_context

 

InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised

python2/3 https忽略ssl证书验证