First of all you need to install java JDK latest version.

  1. JDK  and after installation you need to setup an environment variable in your user space to simplify terminal commands. In Windows x64 you need to add this : C:\Program Files\Java\{JDK_VERSION}\bin to the Path environment variable.

2. Now Open Google Play developer console, then go to Release Management -> App Signing.

3. Download PEPK Tool clicking the button.

4. Open a cmd and type:

java -jar “C:\Users\YourName\Downloads\pepk.jar” –keystore=”C:\Android\mykeystore” –alias=myalias –output=”C:\Android\private_key.pem” –encryptionkey=eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b656cd48b9de6a

Press Enter and you will need to provide in order:

  1. The keystore password
  2. The alias password

5. If everything has gone OK, you now will have a file in PATH_TO_OUTPUT_FILE folder called private_key.pem.

6. Upload the private_key.pem file clicking the button.