Copy link to clipboard
Google uses the new App Bundle and requires developers to use the same certificate to sign the bundle.
My apps apk was always signed with a temperary (.p12) certificate generated in Animate.
I've used keytool to convert the p12 to JKS format
keytool -v -importkeystore -srckeystore "TempCert2016.p12" -srcstoretype PKCS12 -destkeystore TempCert2016.jks -deststoretype JKS
Now I should be able to use PEPK.jar supplied by google to make a PEM
java -jar pepk.jar --keystore=TempCert2016.jks --alias=foo --output=TempCert2016.pem --encryptionkey=<KEY>
The problem I'm having is, what was the alias for the temporary p12 certificate generated by Animate in 2016? Or maybe versions before that?
I got the answer using openssl
openssl pkcs12 -info -nodes -in TempCert2016.p12The 'friendly name' is '1'.