Delete Aliased Certificate from your Trust Store

An aliased certificate may be deleted from a trust store if it is no longer desired.

Required inputs

Procedure: Delete Certificate from Trust Store

Follow this procedure if one needs to delete an aliased certificate authority from a trust store.

  1. Open a command window
  2. Ensure that the command window contains the JRE\bin directory in its path
    set path=%path%;C:\j2sdk1.4.2_02\bin
  3. Navigate the command window to a private directory which will contain the server's trust store file (for example, <java-home>\lib\security\)
  4. Delete the aliased certificate authority from the trust store.
    1. keytool -delete -alias <ca_alias> -keystore <truststore_filename> -storePass <truststore_password>
      (for example, keytool -delete -alias ca_myserver -keystore jssecacerts -storepass changeIt )