Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo Delete a Certificate by Using keytool

Use the keytool -delete command to delete an existing certificate.

  1. Delete a certificate using the following command format:

    keytool -delete
     -alias keyAlias
     -keystore keystore-name
     -storepass password

Example 11–17 Deleting a Certificate From a JKS Keystore

keytool -delete -noprompt -alias ${cert.alias}  -keystore ${keystore.file} 
-storepass ${keystore.pass}

See Also

For more information about keytool, see the keytool documentation at