Remove an alias from the keystore or truststore

You can remove an alias from the keystore or truststore on a master domain manager, an agent, or the Dynamic Workload Console by completing the following steps:

  1. Browse to one of the following installation bin paths, according to the component from which you want to delete the alias:
    Master domain manager
    <MDM_INST_PATH>/TWS/bin/certman, where <MDM_INST_PATH> is the master domain manager installation directory.
    Dynamic Workload Console
    <DWC_INST_PATH>/bin/certman, where <DWC_INST_PATH> is the Dynamic Workload Console installation directory.
    Agent
    <AGENT_INST_PATH>/TWS/bin/certman, where <AGENT_INST_PATH> is the agent installation directory.
  2. Remove the alias by running the following command:
    certman delete -alias <alias> -storetype <KEY|TRUST|ALL> [-storepasswd <store pwd>] [-agentscope] [-workdir <work dir>]

    Where:

    alias
    Specify the alias to remove.
    storetype
    Specify KEY to remove the alias from the keystore, TRUST to remove the alias from the truststore, or ALL to remove the alias from both the keystore and trustore.
    Note: Specifying ALL without the alias being actually present on both the keystore and the trustore, leads to the failure of the certman delete command.
    storepasswd
    Optionally, specify the password of the keystore or trustore on the master domain manager.
    agentscope
    Optionally, specify that the action performed by the command applies to the keystore or truststore of an agent.
    Note: To target the keystore or trustore of a master domain manager, omit the agentscope option and run the command separately.
    workdir
    Optionally, specify the working directory used by the command for storing data while running. When the command stops running, the working directory is deleted. Ensure you have write access to the specified directory and enough space is available.
Using the delete command, the specified alias is removed.