In general, is it possible to import the list of certificates that already comes in the Firefox's trust store (also called Certificate Manager) using JAVA?
Asked
Active
Viewed 2,529 times
0
-
Java keytool will probably be able to extract the certificates from the Firefox trust store, and will certainly be able to import them into a store that a java application can use, if that's what you're asking. Your Java JRE should include a copy of keytool. – Warren Dew Mar 24 '14 at 02:03
-
Mozilla certificate storage can be accessed via PKCS#11 interface (and this one is supported in Java). – Eugene Mayevski 'Callback Mar 24 '14 at 07:53
2 Answers
0
You still need to export certificates to PEM/PKCS format before processing it with keytool.
Firefox uses it's own internal certificate storage (not system one like Chome) so there is another 'theoretically' possible solution: native calls to Firefox libraries through JNA.

Alex Chernyshev
- 1,719
- 9
- 11