Knowledgebase

Java Keytool: commands  Print this Article

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


Was this answer helpful?

Related Articles

How do I make my own bundle file from CRT files?
You may do this using you favorite text editor or by using the command line.Example: #...
Convert certificates formats (PEM/P7B/PFX/DER)
You can change certificate format using OpenSSL commands or SSL Converter tool. The...
Changing .crt file into the .cer format
Double-click on the yourwebsite.crt file to open it into the certificate display. In a new...
Converting .pfx file for use with Apache
Run the following command with open SSL:  openssl pkcs12 -in mypfxfile.pfx -out...
Backing up and Restoring the pending request in IIS 5 or 6
Backing up the private key of the pending request Go to menu Start, select Run,...