Some useful Java Keytool commands

Below are some commands you might find useful in determining Keystore issues.

Deleting a certificate
keytool -delete -alias aliasname

list all of the keystore certificate
keytool -list -v | more

list all cacerts certificates
keytool -list -keystore \j2sdk\jre\lib\security\cacerts | more

list or display a certificate
keytool -printcert -v -file anycert.cer | more
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What does the Warranty actually mean?

We believe it is important to protect the end user. If we were to issue a certificate in error to...

Why does the secure part of the website say the name on the security certificate is invalid or does not match the name of the site?

There are a few possible reasons for this:1) The certificate has a Common Name (CN) of...

The CSR cannot be decoded or is invalid

CSR is possibly missing one or more required fields.The CSR must contain a minimum of the...

I have accidentally deleted or lost my Private Key

First check your backups and see if you can re-install the "private key". If you don't know how...

I have changed my server, or moved to a different provider, how do I move the certificate?

If you are moving servers or providers, you will need to get the certificate and private key from...