Truststore and Keystore Definitions

Rob Wright picture Rob Wright · Nov 25, 2008 · Viewed 155.5k times · Source

What's the difference between a keystore and a truststore?

Answer

Darron picture Darron · Nov 25, 2008

A keystore contains private keys, and the certificates with their corresponding public keys.

A truststore contains certificates from other parties that you expect to communicate with, or from Certificate Authorities that you trust to identify other parties.