Skip to content
Advertisement

Tag: keytool

How can i solve [Received fatal alert: bad_certificate]?

I’ve created two servers locally, and I’m going to apply a mutual authentication to their communication. I just don’t know what the problem is. I lack understanding of this mechanism, but I also lack understanding of the server itself. Create each key store Export to X.509 to register certificate in Truststore. Register each other’s certificates in Truststore. server’s application.properties client’s

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 orders. Before I write something, is there an intelligent utility to tell me

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). If someone has the same issue, he/she can solve by following

java.lang.Exception: Public keys in reply and keystore don’t match

I have to access a webservice hosted at port 443.Service provider has shared three certificate with us. ABCD.cer CA_Certificate.cer CCA_Certificate.cer I have to add them to keystore by creating a form chain for the SSL communication.I have followed below steps. keytool -keystore npci_keystore_test.jks -genkey -alias npci_client_testore keytool -import -keystore npci_keystore_test.jks -file CA_Certificate.cer -alias theCARoot keytool -import -keystore npci_keystore_test.jks -file CCA_Certificate.cer

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 after giving password it is saying like I also tried but getting same

Advertisement