【HttpClient访问报错 javax.net.ssl.SSLException: hostname in certificate didn't match】错误:javax.net.ssl.SSLException: hostname in certificate didn't match: <*.*.*.*> != <*.*.*.cn> OR <*.*.*> OR <*.cn>
方法:更新HttpClient包
推荐阅读
- hostname|HttpClient 访问Https报错hostname in certificate didn't match:
- HttpClient|httpclient 账号密码 验证
- HttpURLConnection 和HttpClient+Jsoup处理标签抓取页面和模拟登录