How to change default java trust store(cacerts) password using Java

In this article, We will explore about java default trust store(C:\Program * Files\Java\jdk1.7.0_12\jre\lib\security\cacerts)

Especially, in this article we are going to discuss following topics

  • How to manipulate default trust store password :
  • By default, JRE trust store password is changeit. Suppose, the user wants to change trust store password frequently , then it is very difficult to handle using java key tool. The following code snippet, explains to change default trust store password using java
  • How to iterate truststore and display certificates :
  • The following code snippet explains , how to list out certificates from trust store

  • Example:ChangeTrustStorePassword.java
  • The following java program explains, how to change default trust store password and display certificates in trust store


Vijay D

Hi, I have written and developed this post so that most of people will be benefited. I'm committed to provide easy and in-depth tutorials on various technologies.I hope it will help you a lot.

- Thulasiram P

Follow Me @Google+
SHARE

    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment