Skip to content

Tag: keytool

How can I “diff” two cacerts files?

I have two Tomcat servers, with different “cacerts” files. On one, running “keytool -list -keystore cacerts” says my keystore contains 95 entries, on the other, it says 96. I tried saving the list outputs and running diff against them, but the certificates seem to be in different order…

Keytool EC KeyPairGenerator not available

When I use keytool to generate a key with ECC, I get this error: Error keytool: java.security.NoSuchAlgorithmException: EC KeyPairGenerator not available Then syntax used to generate a key is: I have this Java version: Answer I solved the problem by reading the following article (linked by the user @QuakeCore…

Unable to import certificate to cacerts

My requirement is to import a certificate for maven repositories into the global keystore. The certificate file is named maven-cacert.cer . I am using following command from C:Program FilesJavajdk1.6.0_20bin from cmd as maven-cacert.cer file is in C directory after pressing enter it asked to put password and …