79768778

Date: 2025-09-18 17:48:53
Score: 1
Natty:
Report link

Keystore = your passport (proves who you are to someone else e.g., a server)

- Contains certificate(s) + your private key

Who uses it?

- Clients (only if mutual TLS is required)

Truststore (cacerts) = a list of trusted embassies (tells you whose passports you believe are valid)

- Contains Public root and intermediate CA certificates.

- Purpose is to validate other party's certificate.

General Example:
e.g. if Java app is calling https://google.com

- google presents it's certificate chain.

- The client Java app checks if the chain (passport) belongs to the truststore (list of embassies passports we trust)

- Yes? then connection succeeds. No -> you get an error.

Example: Mutual TLS

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: leroneb