import .cer file into java 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"