I'm trying to create a public/private key pair using the keytool function so I can submit an Android app to Google Play. When I try to sign the app using the key I made, I get this error from jarsigner
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.
Same thing when I try using RSA. When I look at the keys for the keystore, all I see if the
Entry type: PrivateKeyEntry
Not the public and private keys.
The command I used to create they key was
keytool -genkey -keystore nameofkeystore.keystore
-alias coffitivity -keypass *passwordommitted* -storepass *thepasswordommitted*