request = Request.create(TssoUtils.genURL("/rest/base/authManagerService/getUserByUserId") + "&userId=" + userId, Request.METHOD.GET, "");
response = Sender.create(request).setTimeout(30 * 100).send();
具体调用,接口的自签证书没有域名,Reqeuest如何忽略所有证书
今天碰到了一个异常,JAVA接口调用https,证书不被信任
java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExc eption: No subject alternative names present