How to delete already import certificate/alias by keytool command?
It seems you didn’t write the full keystore path. The command should be like this: keytool -delete -noprompt -alias “initcert” -keystore “C:\Path\to\your\keystore\keycloak.jks” About the last error, as other pointed out, “cacerts” is different keystore than your keycloak where you have already imported your certificate. You can check if your alias is in there by using … Read more