Android Question Private Sign Key Update Help

Ertan

Active Member
Licensed User
Hello there

I was faced with a huge error.

I realized that there was such a situation the other day.

I created a SignKey to adapt Facebook and Google login to my project. Now I install apps to Play Store using this Key.

But my old projects, unfortunately, I uploaded my application to the play store with "debug.keystore".

After doing some research I found a screen like this. I think it tells me that I can update my Sign Private Key this way.



I am typing these commands in CMD.

B4X:
java -jar C:\Users\Ertan\Downloads\pepk.jar --keystore=C:\**.keystore --alias=b4a --output=C:\output.zip  --signing-keystore=C:\debug.keystore --signing-key-alias=androiddebugkey --encryptionkey=***************

I'm also not sure if I did this line of code correctly.
I could not find a correct article about this on the internet.

Error: Unable to export or encrypt the private key
java.security.NoSuchAlgorithmException: SHA512withDSA Signature not available


I am getting this error ..
If I am on the way to a solution, I found out after researching that there are many people in the forum who live like me.
This topic may be helpful for them as well.

I will be grateful if you could help me. Thank you.
 
Last edited:

Ertan

Active Member
Licensed User
B4X:
java -jar C:\Users\Ertan\Downloads\pepk.jar --keystore=C:\**.keystore --alias=b4a --output=C:\output.zip  --signing-keystore=C:\debug.keystore --signing-key-alias=androiddebugkey --encryptionkey=********

Yes there is no problem.

--keystore=C:\**.keystore --alias=b4a

signing-keystore=C:\debug.keystore --signing-key-alias=androiddebugkey

Am I making a mistake with one of these?

When I enter all the passwords correctly;
View attachment 102849

Error: Unable to export or encrypt the private key
java.security.NoSuchAlgorithmException: SHA512withDSA Signature not available

I am getting this error.
 
Last edited:
Upvote 0

Ertan

Active Member
Licensed User
I saw it and applied it, but something like this came to mind. Will this help me update my existing certificate on google play? Because I don't think so. Google play is asking me for the file output.zip. These are the necessary codes to print this file.

Error: Unable to export or encrypt the private key
java.security.NoSuchAlgorithmException: SHA512withDSA Signature not available


If I overcome this error, the required file will be created.
 
Upvote 0
Top