Wednesday, March 18, 2020

12c - keytool - Delete certificate from Java Keystore using alias name

Solution
We need alias name to delete a specific certificate from java keystore.

Please use the following command:
Syntax:
keytool -delete
 -alias keyAlias
 -keystore keystore-name
 -storepass password

Example:
/usr/java8_64/bin/keytool -delete -alias cavent  -keystore SOAKeysTrust.jks -storepass CUSTOMPASS

here /usr/java8_64/bin/ is the java bin path added.


No comments:

Post a Comment

Featured Post

OIC - Splitting Fixed-Length File Based on batch header Terminal Numbers into 2 separate files using xslt mapping.

Use Case:  OIC - Splitting Fixed-Length File Based on batch header Terminal Numbers into 2 separate files using xslt mapping. In integration...