摘要: 1. SSLClient 继承DefaultHttpClient ,设定TLSv1.2,https允许所有hostname 2. https使用SSLClient 创建client 阅读全文
posted @ 2018-02-07 14:31 CJ.Lee 阅读(1245) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) throws Exception { SSLContext context = SSLContext.getInstance("TLS"); context.init(null, null, null); SSLSocketFactory factory... 阅读全文
posted @ 2018-02-07 14:22 CJ.Lee 阅读(234) 评论(0) 推荐(0) 编辑