First, convert the certificate to PKCS12 format:
openssl pkcs12 -export -in mycertificate.crt -inkey mykey.key -out mycertificate.p12
then create the keystore:
keytool -importkeystore -srckeystore mycertificate.p12 -srcstoretype PKCS12 -destkeystore mycertificate.jks -deststoretype JKS
No comments:
Post a Comment
With great power comes great responsibility