Keystore not working PLEASE HELP
KAJAMstudios
Member, PRO Posts: 27
i am putting this in terminal: keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -sigalg SHA1withRSA -keysize 2048 -validity 10000
just ask it says in the cookbook and i am replacing my release and alias name with my company name. But i get this:
PLEASE HELP!
Comments
@KAJAMstudios According to Oracle's Keytool Support Page, in Java 6 and up they've renamed the command -genkey to -genkeypair
Try typing this instead:
keytool -genkeypair -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -sigalg SHA1withRSA -keysize 2048 -validity 10000
replacing 'my-release-key.keystore' with your 'name.keystore'
and 'alias_name' with your name
(remember only the first 8 characters are used in the name)
From your picture it looks like your version of keytool knows that you're trying to make a keystore. If it's still not happy with RSA maybe try using DSA instead or changing 2048 to 1024. I don't know much about encryption so someone else may have to jump in here.