Home > Back-end >  Can I generate keystore from jks or pem file
Can I generate keystore from jks or pem file

Time:12-26

Hi everyone I got some problems while trying to update my android app:

  • So first I lost my keystore password and I solve It by contacting google support and requested to reset It.
  • Then after that I got this problem:

"Your Android App Bundle has been signed with the wrong key. Make sure your app bundle is signed with the correct key and try again. The bundle app you imported should normally be signed with the certificate associated with the fingerprint"

so my question is can I use my .pem or keystore.jks that I used to generate another keystore that have the same finger SHA1 that google got to reset my keystorepassword

or is that any other solution please if some one can help

just for clarification this the 2nd release I want to update my app (the App is already in the app store)

CodePudding user response:

If you have reset your upload key, you must have already created a keystore as part of that operation. You should use that keystore to sign your app from now on.

You cannot recreate the keystore from the pem file, but the jks file is the keystore, so reference this file in your signing config.

  • Related