79388754

Date: 2025-01-26 15:21:11
Score: 0.5
Natty:
Report link
  1. Install JDK on your machine.

  2. In JDK files navigate to bin folder and copy it's path. ex: C:\Program Files\Java\jdk-17\bin

  3. Open command prompt window.

  4. run the command :

    cd C:\Program Files\Java\jdk-17\bin

  5. run the command :

    keytool -export -rfc -keystore D:\Users\Documents\AppAndriod\app\keystore\certificate.jks -alias my_alias -file D:\Users\Documents\AppAndriod\app\keystore\certificate.pem

  6. Enter your key's password in the command prompt.

  7. Your .pem key will be generated successfully.

Note that :

  1. D:\Users\Documents\AppAndriod\app\keystore\certificate.jks is the path of your current .jks key that you want to convert to .pem
  2. my_alias is the alias name of your key.
  3. D:\Users\Documents\AppAndriod\app\keystore\certificate.pem is the path and file name of the new .pem key to be created after you run the command
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Michael