Archive . Keystore and . jks Android

Asked

Viewed 1,999 times

0

I realized that Google has the service Manage your app Signing Keys, it is possible to replace my key with google key.

For that I must follow a few steps that is:

  1. Download the PEPK tool to export and encrypt your private key.

  2. Use the command below to run the tool that will export and encrypt your private key. Make sure to replace the highlighted arguments in bold. Then type the key and Keystore passwords in the requests.

    $ java -jar pepk.jar --Keystore=foo.Keystore --alias=foo --output=encrypted_private_key_path --encryptionkey=encrypted key

  3. Upload your private encrypted app subscription key.

  4. Generate a new upload key. Follow these instructions to generate a new key.

  5. Export the recently generated upload key certificate to the PEM format. Make sure to replace the highlighted arguments in bold.

    $ keytool -export -rfc -Keystore upload-Keystore.jks -alias upload -file upload_certificate.pem

  6. Upload your upload key certificate to register with Google.

Only that I stopped on Monday because I don’t have the file. Keystore (at least, I think) I have the jks that I created in the act of creating the signed apk.

The question:

The . jks file can be this . Keystore ? Or I have to generate this file?

  • friend, I was having the same doubts maybe this can help https://stackoverflow.com/a/44103025

1 answer

0

.Keystore or . jks are just variations of the same file type. There is also the possibility of this file being created without any extension, because it is a type of file that is implied by Java (But I do not recommend doing this! Always create it with extension to better identify it when you need). I hope it helped.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.