Hi, I have my own private key, when I compile with it I get:
Signing package file (private key) Error
jarsigner error: java.security.SignatureException: private key algorithm is not compatible with signature algorithm
Within the Tools Private key settings I see the following:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: Fred
Creation date: 19-Feb-2014
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=Unknown, OU=Fred Ltd, O=Fred Ltd, L=Unknown, ST=Unknown, C=UK
Issuer: CN=Unknown, OU=Fred Ltd, O=Fred Ltd, L=Unknown, ST=Unknown, C=UK
Serial number: *REMOVED*
Valid from: Wed Feb 19 12:00:25 GMT 2014 until: Sun Jul 07 13:00:25 BST 2041
Certificate fingerprints:
MD5: *REMOVED*
SHA1: *REMOVED*
Signature algorithm name: SHA1withRSA
Version: 3
*******************************************
*******************************************
I generated the key using:
"C:\Program Files (x86)\Java\jdk1.6.0_31\bin\keytool.exe" -genkey -v -keystore fred.keystore -alias fred -keyalg RSA -keysize 2048 -validity 10000
Please help.
Note I have existing apps using Phonegap and need to use the same key.
Thanks
Signing package file (private key) Error
jarsigner error: java.security.SignatureException: private key algorithm is not compatible with signature algorithm
Within the Tools Private key settings I see the following:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: Fred
Creation date: 19-Feb-2014
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=Unknown, OU=Fred Ltd, O=Fred Ltd, L=Unknown, ST=Unknown, C=UK
Issuer: CN=Unknown, OU=Fred Ltd, O=Fred Ltd, L=Unknown, ST=Unknown, C=UK
Serial number: *REMOVED*
Valid from: Wed Feb 19 12:00:25 GMT 2014 until: Sun Jul 07 13:00:25 BST 2041
Certificate fingerprints:
MD5: *REMOVED*
SHA1: *REMOVED*
Signature algorithm name: SHA1withRSA
Version: 3
*******************************************
*******************************************
I generated the key using:
"C:\Program Files (x86)\Java\jdk1.6.0_31\bin\keytool.exe" -genkey -v -keystore fred.keystore -alias fred -keyalg RSA -keysize 2048 -validity 10000
Please help.
Note I have existing apps using Phonegap and need to use the same key.
Thanks