Cómo agregar un nuevo certificado al archivo JKS
keytool -importcert -file certificate.cer -keystore keystore.jks -alias "Alias"
Uptight Unicorn
keytool -importcert -file certificate.cer -keystore keystore.jks -alias "Alias"
keytool -importcert -file certificate.cer -keystore keystore.jks -alias "Alias"
..\..\bin\keytool -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias yourAliasName -file path\to\certificate.cer