?
Solved

How to relaod the updated cacerts file at runtime?

Posted on 2004-09-21
5
Medium Priority
?
864 Views
Last Modified: 2007-12-19
Hi,
 I need to add certificates to the keystore / truststore (i.e. cacerts file) at runtime.         
 As of now I know that keystore / truststore once read is cached and the application doesn't consider the newly added certificates.
 How do I get it to reload the same keystore after the application has added new certificate to the cacerts file?  
 Is that possible ?
       
 Thanks,
 Nimai
0
Comment
Question by:nimaig
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 9

Author Comment

by:nimaig
ID: 12120139
Hi,
 The link you have specified talks of adding a certificate. My requirement is different. I would like to reload the same keystore after the application has added new certificate to the cacerts file?


Thanks,
Nimai
0
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 12120169
WHy can't you just create a new KeyStore instance and load that with your key store stream.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question