请教httpclient访问https,我的步骤错哪里了
请教httpclient访问https,我的步骤错哪里了
日期:2021-08-25 10:41:49 人气:1
// 这是读取刚才生成的两个keystore文件的
Protocol authhttps = new Protocol("https", new AuthSSLProtocolSocketFactory(
new URL("file:C:\\Documents and Settings\\Administrator\\my.keystore"), "1
Protocol authhttps = new Protocol("https", new AuthSSLProtocolSocketFactory(
new URL("file:C:\\Documents and Settings\\Administrator\\my.keystore"), "1