Closed Wini1680 closed 5 years ago
[TencentCloudSDKException] code:ClientNetworkError message:[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847) requestId:None
Ubuntu 18.04 python3.6 秘钥用的是API秘钥管理的SecretId和SecretKey 然而出现这个错误是什么情况呢?
你的python是自己编译的吗?请参考下网上对python编译时ssl模块需要注意的事项
1.把测试代码中的os.environ.get直接换成了SecretID和SecretKey 2.加了句ssl._create_default_https_context=ssl._create_unverified_context
[TencentCloudSDKException] code:ClientNetworkError message:[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847) requestId:None
Ubuntu 18.04 python3.6 秘钥用的是API秘钥管理的SecretId和SecretKey 然而出现这个错误是什么情况呢?