Https开头的webservice接口
工具类中添加
static{
System.setProperty("javax.net.ssl.trustStore","/路径/_.xxxx.com.cn.jks");
System.setProperty("javax.net.ssl.trustStorePassword","password(密码)");
}
可以正常调用https开头的接口
2022-02-15 10:57:03
Https开头的webservice接口
工具类中添加
static{
System.setProperty("javax.net.ssl.trustStore","/路径/_.xxxx.com.cn.jks");
System.setProperty("javax.net.ssl.trustStorePassword","password(密码)");
}
可以正常调用https开头的接口