Skip to content

Instantly share code, notes, and snippets.

@TheDancerCodes
Created May 15, 2023 19:32
Show Gist options
  • Save TheDancerCodes/a3620717a1d6820b2f12b0c57636d853 to your computer and use it in GitHub Desktop.
Save TheDancerCodes/a3620717a1d6820b2f12b0c57636d853 to your computer and use it in GitHub Desktop.
Use the command below to run the tool, which will export and encrypt your private key and its public certificate.
# Ensure that you replace the arguments. Then enter your store and key passwords when prompted.
java -jar pepk.jar --keystore=foo.keystore --alias=foo --output=output.zip --encryptionkey=xxx --include-cert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment