I received a clientele file from a client, which I must use to sign an APK that is going to replace / update an existing APK in the play store.
Unfortunately, I get the following error:
jarsigner: certificate chain not found for: alias_name. alias_name must reference a valid KeyStore that contains the private key and the corresponding public key certificate chain.
When I try to sign the same APK with a different self-generated keystore, this works fine, so I decided there should be something missing in the keystore.
Keystore-Typ: JKS
Keystore-Provider: SUN
Keystore enthält 1 Eintrag
Aliasname: alias_name
Erstellungsdatum: 19.05.2015
Eintragstyp: PrivateKeyEntry
Zertifikatskettenlänge: 1
Zertifikat[1]:
Eigentümer: (redacted)
Aussteller: (redacted)
Seriennummer: 5152a7xx
Gültig von: Wed Mar 27 09:00:32 CET 2013 bis: Sun Aug 12 10:00:32 CEST 2040
Zertifikat-Fingerprints:
MD5: (bla)
SHA1: (bla)
SHA256: (bla)
Signaturalgorithmusname: SHA1withRSA
Version: 3
*******************************************
*******************************************
, , "". , ? , ?
.p12 keychain Mac OS X, alias_name ; " " - .
:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore data_dirs/ff.keystore/path/to/QtApp-release-unsigned.apk alias_name
jarsigner: : alias_name. alias_name KeyStore, .