用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.
相關文章
相關標籤/搜索