阅读背景:

在java中使用自定义信任库以及默认信任库

来源:互联网 

I'm writing an application in Java which connects to two web servers via HTTPS. One got a certificate trusted via the default chain of trust, the other uses a self signed certificate. Of course, connecting to the first server worked out of the box, whereas connecting to the server with the self signed certificate did not work until I created a trustStore with the certificate from that server. However, the connection to the by default trusted server does not work any more, because apparently the default trustStore gets to be ignored once I created my own.I'm writing an application in Java which connec




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: