Use this tool to export private keys from a Java Keystore and encrypt them for transfer to Google Play. When providing the app signing key for Google to use, select the option to Export and upload a key from a Java keystore and follow the instructions to download and use the tool.
Download the PEPK tool
Run the given command to generate app signing key and certificate zip PEPK tool. Replace values for your keystore (foo.keystore
, foo
, and output.zip
)
--keystore=
--alias=
--output=
--encryptionkey=
will already be pre-filled for you1# from within the same folder where you downloaded pepk.jar
2java -jar pepk.jar --keystore=foo.keystore --alias=foo --output=output.zip --encryptionkey=XXXXXXXXXX7c9df715022017bXXXXXXXXXXXXXXXXXa11e6c09ffe3056a10XXXXXXXXXXa955f4ba4fe93fc8ceXXXXXXXXXX9d2a529aXXXXXXXXXX33b656XXXXXXXXXX --include-cert
Note that PEPK needs Java Development Kit (JDK) version 8 or above installed on your system.
1# install JDK on Ubuntu
2sudo apt install -y openjdk-14-jdk-headless