Need help - Lost my certificate!

20 posts (showing 1-20)
shajby

Market Level 7Community Level 8
1431 posts

Hi there,

unfortunately I deleted my signing certificate (*.p12). Without that I can not do any update of my apps :(. I remember I uploaded a certificate some time ago to enhance platform, is it possible to get it somehow from there?

Thanks for any help,

Michal

posted 2017-01-25T06:27:17-08:00
sandeep410

Market Level 1Community Level 3
180 posts

why dont u just make a new one.

posted 2017-01-26T03:48:18-08:00
shajby

Market Level 7Community Level 8
1431 posts

Posted on 26th Jan '17 by sandeep410

why dont u just make a new one.

Nope, for updating apps you need a certificate that you used for the first signing of that app. I can use the new one just for new apps.

Unfortunately my is gone for good, so I can not update my apps at all now :/ 

ALWAYS MAKE BACKUPS OF YOUR IMPORTANT FILES!:-)

posted 2017-01-26T03:51:39-08:00
sandeep410

Market Level 1Community Level 3
180 posts

Posted on 26th Jan '17 by shajby

Posted on 26th Jan '17 by sandeep410

why dont u just make a new one.

Nope, for updating apps you need a certificate that you used for the first signing of that app. I can use the new one just for new apps.

Unfortunately my is gone for good, so I can not update my apps at all now :/ 

ALWAYS MAKE BACKUPS OF YOUR IMPORTANT FILES!:-)

I have lost mine lot of times and have updated my apps with new ones.

Are u sure u are using same account

posted 2017-01-27T20:53:51-08:00 | edited 2017-01-27T21:31:30-08:00
shajby

Market Level 7Community Level 8
1431 posts

Posted on 27th Jan '17 by sandeep410

Posted on 26th Jan '17 by shajby

Posted on 26th Jan '17 by sandeep410

why dont u just make a new one.

Nope, for updating apps you need a certificate that you used for the first signing of that app. I can use the new one just for new apps.

Unfortunately my is gone for good, so I can not update my apps at all now :/ 

ALWAYS MAKE BACKUPS OF YOUR IMPORTANT FILES!:-)

I have lost mine lot of times and have updated my apps with new ones.

Are u sure u are using same account

Sure I m sure :)..and no on Google Play you can not use different certificates for signing the same app..(you can use different certificates for different apps but not for updates)

Google play:

"Your uploaded an APK is signed with a different certificate to your previous APKs. You must use the same certificate."

"The .apk must be signed with the same private key. If the package name and signing certificate do not match those of the existing version, Market will consider it a new application and will not offer it to users as an update."

posted 2017-01-27T23:29:35-08:00
sandeep410

Market Level 1Community Level 3
180 posts

You can get ur key that u used from googleplay. And use that key to create new certificate and it shouold work

posted 2017-01-29T01:44:50-08:00
shajby

Market Level 7Community Level 8
1431 posts

Posted on 29th Jan '17 by sandeep410

You can get ur key that u used from googleplay. And use that key to create new certificate and it shouold work

Really? Is there any tutorial how to do that?

posted 2017-01-29T02:09:48-08:00
FGL_Dave

FGL AdminCommunity Level 4
318 posts

Posted on 29th Jan '17 by shajby

Posted on 29th Jan '17 by sandeep410

You can get ur key that u used from googleplay. And use that key to create new certificate and it shouold work

Really? Is there any tutorial how to do that?

I could definitely be wrong I guess, but I do seriously doubt that would be the case. One important reason for having the certificates and signing system in the first place is that if someone gets into your Google Play account they can't easily update your app with a malware-infested replacement. They'd need your original signing keys to do so. If you can simply generate a new key from some information available in your Google account, that'd undermine the whole point of having private/public keypair signing in the first place...

posted 2017-01-29T15:49:05-08:00
sandeep410

Market Level 1Community Level 3
180 posts

you can get ur SHA1key from apk show details in ur dveloper account.

After that just generate a new keystore from that key

posted 2017-01-29T23:57:37-08:00 | edited 2017-01-29T23:59:07-08:00
shajby

Market Level 7Community Level 8
1431 posts

Posted on 29th Jan '17 by sandeep410

you can get ur SHA1key from apk show details in ur dveloper account.

After that just generate a new keystore from that key

Yeah I know that I can get SHA1 key but how I will generate a new keystore from it? I don't have any experience with generating these things.

Thanks for all the info and help!

posted 2017-01-30T00:10:04-08:00
sandeep410

Market Level 1Community Level 3
180 posts

How did u genrated keystore file before???

Do you know the name and password that u used in ur previous keystore??

posted 2017-01-30T01:55:43-08:00 | edited 2017-01-30T01:57:02-08:00
shajby

Market Level 7Community Level 8
1431 posts

Posted on 30th Jan '17 by sandeep410

How did u genrated keystore file before???

I didn't. My games are created in Adobe Flash and you can create *.p12 file directly from there and use it for signing the app. But then I accidentaly deleted the p12 certificate and before I managed to restore the file it has been overwritten. 

And yes I know the name and password.

posted 2017-01-30T01:57:41-08:00 | edited 2017-01-30T02:02:00-08:00
sandeep410

Market Level 1Community Level 3
180 posts

well i use gamemaker and u can create keystore file with it.

So u can try installing gamemaker and u can create keystore file with name password and sha1key.

But i dont know if demo version has that feature.

I also belive u can create using unity

posted 2017-01-30T02:46:13-08:00
shajby

Market Level 7Community Level 8
1431 posts

Posted on 30th Jan '17 by sandeep410

well i use gamemaker and u can create keystore file with it.

So u can try installing gamemaker and u can create keystore file with name password and sha1key.

But i dont know if demo version has that feature.

I also belive u can create using unity

Thanks for a tip, I m going to give it a try

posted 2017-01-30T06:29:28-08:00
shajby

Market Level 7Community Level 8
1431 posts

Posted on 30th Jan '17 by sandeep410

well i use gamemaker and u can create keystore file with it.

So u can try installing gamemaker and u can create keystore file with name password and sha1key.

But i dont know if demo version has that feature.

I also belive u can create using unity

Well I m able to enter my sha1key in Game Maker now but no matter what when I generate a new keystore it overwrites my sha1key by different one. Any idea why? (It seems that that SHA1 field is there just to show what fingerprint was used but you can not enter yours to have it signed with because even if you do that it will be overwritten after you click generate)

posted 2017-01-30T07:15:56-08:00 | edited 2017-01-30T07:34:42-08:00
sandeep410

Market Level 1Community Level 3
180 posts

DId u try click, showkeyhash and then erase keyhash and put only ska1key and click generate and see

posted 2017-01-30T08:54:55-08:00
shajby

Market Level 7Community Level 8
1431 posts

Yes I tried it, but I can not delete "Key Hash" field, just "Key Hash (SHA1)" field. After I enter my SHA1 and click generate a new SHA1 appears in Key Hash (SHA1) field

posted 2017-01-30T09:27:10-08:00
FGL_Dave

FGL AdminCommunity Level 4
318 posts

Posted on 30th Jan '17 by shajby

(It seems that that SHA1 field is there just to show what fingerprint was used but you can not enter yours to have it signed with because even if you do that it will be overwritten after you click generate)

This would be correct. By their nature, SHA1 hashes are NOT reversible; The SHA1 does not contain enough information to generate the originating certificate by design. There is no way to get your certificate back if all your have is the SHA1 fingerprint, unfortunately.

posted 2017-01-30T15:42:34-08:00
sandeep410

Market Level 1Community Level 3
180 posts

well then only hope is to try a data recovery software and try to recover files from the folder you deleted it

posted 2017-01-30T21:02:22-08:00
shajby

Market Level 7Community Level 8
1431 posts

Posted on 30th Jan '17 by sandeep410

well then only hope is to try a data recovery software and try to recover files from the folder you deleted it

thanks..that was the first thing I tried, unfortunately the file has been already damaged after I tried to recover it. Thank you both for all the info and help!

posted 2017-01-30T23:13:18-08:00