I am trying to import a certificate and a key file into the keystore but I\'m unable to do that.
How can I create a keystore by importing both an existing certificat
Adding to @MK Yung and @Bruno's answer.. Do enter a password for the destination keystore. I saw my console hanging when I entered the command without a password.
openssl pkcs12 -export -in abc.crt -inkey abc.key -out abc.p12 -name localhost -passout pass:changeit