cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert crt and key to jks file

How to convert crt and key to jks file

If you have more than one one crt files, merge them to single abc.crt
openssl pkcs12 -export -in abc.crt -inkey abc.key -out abc.p12
keytool -importkeystore -srckeystore abc.p12 \
        -srcstoretype PKCS12 \
        -destkeystore abc.jks \
        -deststoretype JKS
default alias is 1
password is what you set at the prompt
0 Kudos
0 Replies