码迷,mamicode.com
首页 > 编程语言 > 详细

Configuring Java CAPS for SSL Support

时间:2015-02-25 00:46:27      阅读:210      评论:0      收藏:0      [点我收藏+]

标签:

Configuring Java CAPS for SSL Support

KeyStores and TrustStores

The JSSE makes use of files called KeyStores and TrustStores. The KeyStore is used by the adapter for client authentication, while the TrustStore is used to authenticate a server in SSL authentication.

  • KeyStore consists of a database containing a private key and an associated certificate, or an associated certificate chain. The certificate chain consists of the client certificate and one or more certification authority (CA) certificates.

  • TrustStore contains only the certificates trusted by the client (a “trust” store). These certificates are CA root certificates, that is, self-signed certificates. The installation of the Logical Host includes a TrustStore file named cacerts.jks in the location:


    <c:\JavaCAPS>\appserver\domains\<MyDomain>\config

    where <c:\JavaCAPS> is the directory where Java CAPS is installed and <MyDomain> is the name of your domain. This file is recommended as the TrustStore for the Sun Adapters.

Both KeyStores and TrustStores are managed by means of a utility called keytool, which is a part of the Java SDK installation.

Configuring Java CAPS for SSL Support

标签:

原文地址:http://blog.csdn.net/opengl_es/article/details/43928961

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!