用HttpClient发送HTTPS请求报SSLException: Certificate for doesn't match any of the subject alternative...

最近用server酱-PushBear做消息自动推送,用apache HttpClient做https的get请求,但是代码上到服务器端就报javax.net.ssl.SSLException: Certificate for <域名> doesn't match any of the subject alternative names: [域名],仔细翻了一下文档发现是HttpClient 4.
相关文章
相关标签/搜索