Ask Your Question
0

What is the difference between creating a Trust Store and Key Store using keytool?

asked 2023-05-05 00:50:19 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-05-05 01:01:01 +0000

djk gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-05 00:50:19 +0000

Seen: 8 times

Last updated: May 05 '23