证书链没有找到,如何解决,并发布到谷歌Play商店? [英] Certificate chain not found, how to fix and publish to Google Play Store?

查看:1284
本文介绍了证书链没有找到,如何解决,并发布到谷歌Play商店?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误信息

jarsigner: Certificate chain not found for: project_foo.<br/>
project_foo must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.

: 怎样包括公开密钥证书链来解决错误?

QUESTION: How do I include a public key certificate chain to address the error?

背景: 应用程序开发已经完成一个Android应用程序,并发表了无符号APK称为Foo.apk。我的目标是签署和zipalign的APK在preparation它上传到谷歌Play商店。我的密钥库位于C:Windows计算机上\路径\的.keystore

BACKGROUND: The App Developer has completed an Android app and delivered an unsigned APK called Foo.apk. My objective is to sign and zipalign the APK in preparation for uploading it to the Google Play store. My keystore is located at C:\Path\.keystore on a Windows machine.

命令行,我命令:

COMMAND LINE, my command:

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore C:\Path\\.keystore Foo.apk project_foo

命令行,响应:

COMMAND LINE, response:

Enter Passphrase for keystore:
jarsigner: Certificate chain not found for: project_foo.<br/>
project_foo must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.

也试过: 已验证我记得正确的密码。在命令行中使用'密钥工具-list显示我的期望清单(它包括一个私有密钥)​​。

ALSO TRIED: Verified that I remember the correct password. Using 'keytool -list' from the command line shows me the expected list (it includes one private key).

preVIOUS系统问题:找不到​​证书链>使用Verisign颁发一个 .CER 文件要求。我可没有类似的文件。

PREVIOUS OS QUESTION: certificate chain not found asked using a .cer file from Verisign. I have no similar file available.

其他信息:Windows 7计算机,使用标准的Windows命令提示符

OTHER INFORMATION: Windows 7 machine, using standard Windows command prompt.

推荐答案

的keytool -keystore formconnect.keystore -list -v

您可以使用此命令来找出你的别名,你已经生成密钥后。

You can use this command to find out your alias name after you have generated your key.

执行的第一行包含别名:&LT;价值&GT; 如果使用密钥工具则别名可能是的myKey

First line of execution contains the Alias name: <value> If keytool is used then alias name might be "mykey".

使用的别名,而将应用程序打包。

Use that alias name while packaging the application.

这篇关于证书链没有找到,如何解决,并发布到谷歌Play商店?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆