1
我正在嘗試使用keytool函數創建公鑰/私鑰對,以便我可以向Google Play提交Android應用程序。當我嘗試使用我做了密鑰簽署應用程序,從我的jarsignerAndroid的Keytool公鑰/私鑰對
jarsigner: Certificate chain not found for: SHA1withDSA.
SHA1withDSA must reference a valid KeyStore
key entry containing a private key and corresponding public key certificate chain.
當我嘗試使用RSA得到這個錯誤,同樣的事情。當我查看密鑰庫的密鑰時,所有我看到的都是
條目類型:PrivateKeyEntry
不是公鑰和私鑰。
我用來創建他們關鍵的命令是
keytool -genkey -keystore nameofkeystore.keystore
-alias coffitivity -keypass *passwordommitted* -storepass *thepasswordommitted*
另一個區別是,你指定RSA作爲keyalg。顯然默認是DSA。 –
的確如此,但我已經做了大量不同的變化,我應該編輯它。無論如何,我應該剛剛使用「創建簽名應用程序」功能,但本教程沒有提到,直到手動未簽名的應用程序方法。對我來說,打耳光的時刻! –
謝謝,這幫了我很大的時間! –