Last active
April 19, 2023 08:32
-
-
Save mohancm/6a9d435a9188b37cd454fdff74d9bbe4 to your computer and use it in GitHub Desktop.
generating keystore using platform keys:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Platform keys can be found in $ANDROID_ROOT/build/target/product/security/ | |
required files: | |
- platform.x509.pem | |
- platform.pk8 | |
# command in linux with JAVA setup | |
openssl pkcs8 -inform DER -nocrypt -in platform.pk8 -out platform.key | |
openssl pkcs12 -export -in platform.x509.pem -inkey platform.key -name platform -out platform.pem -password pass:mohan100 | |
keytool -importkeystore -srckeystore platform.pem -srcstoretype PKCS12 -srcstorepass mohan100 -destkeystore platform.keystore -deststorepass mohan100 | |
## For Android studio | |
key store password: mohan100 | |
key alias: platform | |
key password: mohan100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment