Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JarSigner Private and Public Key Issue #42

Open
abdullahkhan70 opened this issue May 15, 2021 · 2 comments
Open

JarSigner Private and Public Key Issue #42

abdullahkhan70 opened this issue May 15, 2021 · 2 comments

Comments

@abdullahkhan70
Copy link

Hello everyone,

Today, I was trying to use this action in your project. Whenever it starts generating the APK through It, then it gives me this error.

> Run r0adkll/sign-android-release@v1
>   with:
>     releaseDirectory: android/app/build/outputs/bundle/release
>     signingKeyBase64: ***
>     alias: ***
>     keyStorePassword: ***
>     keyPassword: ***
> 
> Preparing to sign key @ android/app/build/outputs/bundle/release with signing key
> 
> /usr/bin/jarsigner -keystore android/app/build/outputs/bundle/release/signingKey.jks -storepass *** -keypass *** android/app/build/outputs/bundle/release/app-release.aab ***
> 
> jarsigner: Certificate chain not found for: ***.  *** must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
> 
> Error: The process '/usr/bin/jarsigner' failed with exit code 1

How can I sort out this problem.

@kojofosu
Copy link

i had similar issue, and I created a new jks with name that matches what is in the build env....so the new jks was named signingKey.jks and that solved the issue for me

@Kagiri11
Copy link

Kagiri11 commented Aug 9, 2023

@kojofosu just encountered this error. Do you mean the keystore.jks should ideally be named same as your github secret?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants