java keytool import certificate into jks 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"