TrustManager determines whether remote connection
should be trusted or not
· trustStore
is for client to validate the authenticity of web server .
· It
holds public key provided by the web server .
· trustStore
is used by TrustManager in Java
· -Djavax.net.ssl.trustStore to
specify path for trustStore in Java.
keystore decides which authentication
credentials should be sent to the remote host for authentication during
SSL handshake
· It
hold the private key used by Web server to encrypt the messages send to Clients.
· keyStore
is used by keyManager in java.
· -Djavax.net.ssl.keyStore
is path to specify keystore in Java
No comments:
Post a Comment