https 访问报错 hostname in certificate didn't match

apache  httpclient 4.3版本

域名解析出错:

socketFactory = new SSLConnectionSocketFactory(context,SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);


你可能感兴趣的:(https 访问报错 hostname in certificate didn't match)