2012-02-26 130 views
0

我试图调用一个安全的Web服务。但我收到一个异常说:java.security.cert.CertificateException:找不到信任的证书

Failed to create secure client socket: java.security.cert.CertificateException: com.tibco.security.AXSecurityException: could not find trusted CA certificate with DN 'OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US' that signed certificate with DN 'CN=VeriSign Class 3 Public Primary Certification Authority - G5, OU="(c) 2006 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US' 

我通过访问他们的网站并通过网络浏览器导出证书来获得SSL证书。问题是,是否有其他方式获得可信证书,或者是否需要联系网站管理员才能获得?

谢谢。

+0

导入证书导入浏览器将不会在大多数情况下,Java不进入操作系统证书注册表(小应用程序的行为可能有所不同)。这是Java UI还是后端(服务器)应用程序? – home 2012-02-26 10:05:08

+0

例外来自Java中间件应用程序。 – ChiSen 2012-02-27 05:13:17

回答