Files
MoGoAiCloudSdk/libraries/mogo-tts/app/EB5/a_keystore_make_eb5.sh
2026-04-08 18:28:27 +08:00

8 lines
490 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 将 platform.pk8 生成 platform.pem
openssl pkcs8 -inform DER -nocrypt -in ./platform.pk8 -out ./platform.pem
# platform.x509.pe m生成 platform.p12
openssl pkcs12 -export -in ./platform.x509.pem -inkey ./platform.pem -out ./platform.p12 -password pass:android -name eb5_system
# 使用keytool工具通过指令生成keystore
keytool -importkeystore -deststorepass password -destkeystore ./eb5_system.keystore -srckeystore ./platform.p12 -srcstoretype PKCS12 -srcstorepass android