How to add cacerts to the machine ?

keytool -importcert -alias xyzsl -trustcacerts -keystore cacerts -storepass changeit -file xyz/xyz.cer
keytool -importcert -alias xyzlintr -trustcacerts -keystore cacerts -storepass changeit -file xyz/xyzInter.cer

How to delete cacerts to the machine ?

keytool -delete -alias xyzssl -keystore cacerts
keytool -delete -alias xyzsslintr -keystore cacerts

changeit — default password

 

Advertisements