bash create jks from cert and key code example
Example 1: bash create jks from cert and key
keytool -importkeystore -srckeystore abc.p12 \
-srcstoretype PKCS12 \
-destkeystore abc.jks \
-deststoretype JKS
Example 2: bash create jks from cert and key
openssl pkcs12 -export -in abc.crt -inkey abc.key -out abc.p12