crt转为p12证书
openssl pkcs12 -export -in from.crt -inkey privatekey.key -out to.p12 -name "alias"
jks p12互转
keytool -importkeystore -srckeystore keystore.p12 -srcstoretype PKCS12 -deststoretype JKS -destkeystore keystore.jks
keytool -importkeystore -srckeystore keystore.jks -srcstoretype JKS -deststoretype PKCS12 -destkeystore keystore.p12