开发者社区> 问答> 正文

Host nameoapi.dingtalk.comdoes not match the certificate subject provided by the peer

requesturl=https://oapi.dingtalk.com/gettoken?corpid=****&corpsecret=****,exception, msg=Host name 'oapi.dingtalk.com' does not match thecertificate subject provided by the peer (CN=*.laiwang.com, OU=Research& Develop Center, O="Taobao(China) Software Co., Ltd", L=Hangzhou,ST=Zhejiang, C=CN)

我在本地测试机上测试时正常的,放在服务器上就出现这种问题了,请问大家遇到过这个问题吗?是怎么解决的。

急等答案啊( ⊙ o ⊙ )啊!

展开
收起
ghl0903 2016-03-02 23:14:00 7736 0
1 条回答
写回答
取消 提交回答
  • ReHost nameoapi.dingtalk.comdoes not match the certificate subject provided by the peer
    域名上没有设置SSL,请求时加个verify=False就ok了
    2016-04-09 23:35:12
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Scaling Spark applications by connecting code to resource consumption 立即下载
Apache Wicket User Guide-Refer 立即下载
Lies-And-Damn-Lies-Getting-Past-The-Hype-Of-Endpoint-Security-Solutions 立即下载