.keystore file and .jks Android

0

I noticed that Google has the Manage your app signing keys service, that it is possible to replace my key with the google key.

For this I must follow some steps that is:

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

  • Use the command below to run the tool that will export and encrypt your private key. Be sure to replace the highlighted arguments in bold. Then enter 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

  • Upload your encrypted app signing private key.

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

  • Export the newly-generated upload key certificate to the PEM format. Be sure to replace the highlighted arguments in bold.

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

  • Upload the certificate of your upload key to register with Google.

  • I just stopped at the second one because I do not have the .keystore file (at least, I think) I have the jks I created in the act of creating the signed apk.

    The question:

    Can the .jks file be this .keystore? Or do I have to generate this file?

        
    asked by anonymous 11.07.2017 / 20:12

    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, since it is a type of file that is implied by Java (But I do not recommend doing it! Always create it with extension to better identify it when you need it). I hope it helped you.

        
    08.01.2018 / 14:18