java import certificate into keystore code example
Example: how to add new certificate to jks file
keytool -importcert -file certificate.cer -keystore keystore.jks -alias "Alias"
keytool -importcert -file certificate.cer -keystore keystore.jks -alias "Alias"