Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

A Trust Store stores public keys of trusted entities, such as certificate authorities. A Key Store stores private keys, as well as their corresponding public keys.

In the context of SSL/TLS connections, a client uses a Trust Store to verify the certificate presented by the server, while a server uses a Key Store to present its own certificate and private key.

In essence, a Trust Store trusts others, while a Key Store is used to protect one's own assets.