To delete the certificates imported into the Common Component truststore (ldapcacerts or jssecacerts), use the hcmds64keytool utility (for Windows) or the keytool utility (for Linux).
Check the following information:
- Alias name of the certificate to be deleted
- Truststore password
Run the following command.
In Windows
Common-component-installation-folder\bin\hcmds64keytool -delete -alias alias-name -keystore truststore-file-name
In Linux
Common-component-installation-directory/uCPSB11/jdk/bin/keytool -delete -alias alias-name -keystore truststore-file-name
- alias
- Specify the certificate alias name.
- keystore
- Specify the truststore file path where the certificate is stored.
The truststore (ldapcacerts or jssecacerts) file paths are as follows.
jssecacerts
- For Windows:
Common-Component-installation-folder\uCPSB11\hjdk\jdk\lib\security\jssecacerts
- For Linux:
Common-Component-installation-directory/uCPSB11/hjdk/jdk/lib/security/jssecacerts
ldapcacerts
- For Windows:
Common-Component-installation-folder\conf\sec\ldapcacerts
- For Linux:
Common-Component-installation-directory/conf/sec/ldapcacerts
Note: You are prompted to enter the truststore password in interactive mode.