Difference between keystore and truststore in Java SSL

Synopsis

Both keystore and truststore is used to store SSL certificates in Java but there is subtle difference between them. truststore is used to store public

Statistics

  • Total Hits - 60935

  • Total Votes - 164 votes

  • Vote Up - 62 votes

  • Vote Down - 102 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/Security

  • Submitted By - Javin Paul

  • Submitted on - 2013-02-11 04:04:48

Description

Both keystore and truststore is used to store SSL certificates in Java but there is subtle difference between them. truststore is used to store public certificates while keystore is used to store private certificates of client or server.

Source Website

Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.

http://javarevisited.blogspot.com/2012/09/difference-between-truststore-vs-keyStore-Java-S...

Broken  |   Save  |   Liked  |   Down

Advertisements