- source KEYSTORE.jks
- detect alias pb_sign_XXXXXXXXX
- relace on code alias to real
script.sh:
echo "see alias like pb_sign_XXXXXXXXX" #keytool -list -keystore KEYSTORE.jks #exit keytool -exportcert -alias pb_sign_XXXXXXXXX \ -keystore KEYSTORE.jks -rfc -file pb.pem keytool -import -trustcacerts \ -keystore pb.jks \ -storepass 1PASSWORD2 -noprompt \ -file pb.pem -alias pb_sign_XXXXXXXXX keytool -importkeystore -srcstorepass 1PASSWORD2 \ -srckeystore pb.jks -destkeystore pb.p12 \ -srcstoretype jks -deststoretype pkcs12 rm pb.jks
- result pb.pem
- result pb.p12
За матеріалами:
Немає коментарів:
Дописати коментар