How to create .keystore file with .pem file

Home Forums Legacy Support Support queries How-to & Troubleshooting How to create .keystore file with .pem file

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #379164
    hothaibinh
    Participant
    Hi, I uploaded my app but then lost my keystore. I asked Google for support, they told me to recreate the new key to submit to them in upload_certificate.pem format. Bow the key is reset, however to create app from pwabuilder, I need a .keystore file. How to convert the upload_certificate.pem file to .keystore file ? Or how to get the .keystore file ? Thank you
    #379304
    Anshuman Sahu
    Keymaster
    You can try this method : https://medium.com/@farukcankaya/recover-your-lost-android-keystore-file-633c853bd11f
    #379493
    hothaibinh
    Participant
    Hi the link is broken, I didn't recover the keystore file, I generated new files and sent to Google so they replace the old certificate with the new one. However, the file is in .pem format instead of .keystore. Now I am looking for the .keystore file for pwabuilder, how to get it ? This is the instruction I followed, which was sent by Google Here’s how to generate and register a new upload key: Follow the instructions in the Android Studio Help Center to generate a new key. It must be different from any previous keys. Alternatively, you can use the following command line to generate a new key: keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks This key must be a 2048 bit RSA key and have 25-year validity. Export the certificate for that key to PEM format: keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks Reply to this email and attach the upload_certificate.pem file. -> My question is not about recovering the lost keystore file, but about how to get .keystore file from .pem file Thank you
    #379544
    Anshuman Sahu
    Keymaster
    Well we did not face any issue like that , we would also need to research on it and follow hit and trial method. Im also novice just like you in this . The article is opening at my end . for more links :https://support.google.com/googleplay/android-developer/answer/7384423?hl=en https://developer.android.com/studio/publish/app-signing#generate-key
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to create .keystore file with .pem file’ is closed to new replies.