论文部分内容阅读
JSSE是一个SSL和TLS的纯Java实现,通过JSSE可以很容易地编程实现对HTTPS站点的访问。但是,如果该站点的证书未经权威机构的验证,JSSE将拒绝信任该证书从而不能访问HTTPS站点。本文在简要介绍JSSE的基础上提出了两种解决该问题的方法。
JSSE is a pure Java implementation of SSL and TLS that makes it easy to programmatically access HTTPS sites through JSSE. However, if the site’s certificate is not authenticated by the authority, JSSE will refuse to trust the certificate and will not be able to access the HTTPS site. This article presents two approaches to solve this problem based on a brief introduction to JSSE.