We have to submit a new upload key for one of our apps. Google sent us this:
-----------
Here’s how to generate and register the new upload key:
Follow the instructions in the Android Studio Help Center to generate a new key. It must be different from any previous keys. Alternatively, you can use the following command line to generate a new key:
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
This key must be a 2048 bit RSA key and have 25-year validity.
Export the certificate for that key to PEM format:
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
-----------
Since we're using b4a, it doesn't seem like those instructions will work, especially when b4a signs the bundle.
What are the proper steps to generate the new upload key?
-----------
Here’s how to generate and register the new upload key:
Follow the instructions in the Android Studio Help Center to generate a new key. It must be different from any previous keys. Alternatively, you can use the following command line to generate a new key:
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
This key must be a 2048 bit RSA key and have 25-year validity.
Export the certificate for that key to PEM format:
keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks
-----------
Since we're using b4a, it doesn't seem like those instructions will work, especially when b4a signs the bundle.
What are the proper steps to generate the new upload key?