Android keystore jks pk8 x509.pem

Lists entries in a keystore

  1. keytool -list -v -keystore platform.keystore

Generate Signed APK Using jarsigner

  1. jarsigner -verbose -keystore platform.keystore -signedjar app-debug-signed.apk app-debug.apk alias-name

pk8 & x509.pem -> keystore

  1. ./keytool-importkeypair -k ./oldplatform.keystore -p password -pk8 ../platform.pk8 -cert ../platform.x509.pem -alias alias-name

keystore -> p12 -> jks

  1. keytool -importkeystore -srckeystore platform.keystore -srcstoretype JKS -deststoretype PKCS12 -destkeystore platform.keystore.p12
  2. keytool -v -importkeystore -srckeystore platform.keystore.p12 -srcstoretype PKCS12 -destkeystore platform.keystore.jks -deststoretype JKS

Generate Signed APK Using Android Studio


Leave a Reply

Your email address will not be published. Required fields are marked *