daniel
daniel

Reputation: 31

cacerts issue in JAVA and OPEN JDK 6

how can i build cacerts automatically in java , instead of using the Jre/lib/security/cacerts because openJDK didn't contain the cacerts file.

Upvotes: 0

Views: 3118

Answers (1)

home
home

Reputation: 12538

You can create your own keystore using the keytool. Then you must import all CAs (Certificate Authorities) you need and either place the keystore in <JRE>/lib/security or explicitly set it using a system property. See this post for details.

Of course, you could reuse an existing keystore available in other JDKs.

Upvotes: 1

Related Questions