一、问题描述

  执行python程序报错:requests.exceptions.SSLError: HTTPSConnectionPool(host='执行python程序,报如下错误解决方案xxx.xxx.com', port=443): Max retries exceeded with url: /article/202103232256348173.shtml (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)')))

 

二、解决方案

  请求加参数:verify=False

  即:result = requests.post(jianshu_Url, headers=headers,data=data,verify=False)

相关文章:

  • 2021-05-17
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2021-12-04
  • 2021-06-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2022-12-23
  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案