Difference between keystore and truststore in Java SSL

Tutorials Shared by the Internet Community

Advertisements


Difference between keystore and truststore in Java SSL

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 - 59867

  • Total Votes - 160 votes

  • Vote Up - 61 votes

  • Vote Down - 99 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