微信小程序接口调用出错,报SSL 认证失败该怎么办?
用requests.get(“https://xxxx/xxxx/version.txt”,timeout=2)访问小程序云服务的存储文件,报错如下:
HTTPSConnectionPool(host=‘6861-handyblock-env-xli6v-1301166353.tcb.qcloud.la’, port=443): Max retries exceeded with url: /RaspberryPi/version.txt (Caused by SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘tls_process_server_certificate’, ‘certificate verify failed’)],)”,),))
这是什么原因,该怎么办?急,在线等,谢谢各路大神!