HttpClient访问报错 javax.net.ssl.SSLException: hostname in certificate didn't match

【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包

    推荐阅读