FreeKB - keytool command (Delete a certificate)
keytool command (Delete a certificate)

If you are not familiar with the Java keytool command, check out our Getting Started article.

The delete option can be used to delete a certificate from a keystore.

keytool -delete -keystore "/path/to/keystore.file" -alias alias_name -storepass "keystore_password"


If the keystore is a pkcs12 / p12 file, include the following option.

-storetype pkcs12


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 5b601 in the box below so that we can be sure you are a human.