+1 vote

I opened command prompt. Typed cd. Then typed path: "C:\Program files\Java\jdk1.8.0_111\bin\keytool.exe". Keytool loaded and i could see commands.
Typed: keytool -genkey -alias mydomain -keyalg RSA -keystore KeyStore.jks -keysize 2048 -validity 10000
(and many variations of this) but it alwats displayed:
keytool isnt recognized as an internal or external command, operable program or batch file.
Which commands should i type for generating keystore properly?

asked Nov 14, 2016 in Gossip by Sprowk (326 points)
edited Nov 14, 2016 by Sprowk

1 Answer

+1 vote
Best answer

go to "C:\Program files\Java\jdk1.8.0_111\bin" instead and use this: "keytool -genkey -v -keystore Your_personal_file_title.keystore -alias Your_personal_alias -keyalg RSA -keysize 2048 -validity 10000"

change yourpersonalfiletitle name and yourpersonal_alias (you'll use the alias and password later so write it up somewhere you'll remember)

answered Nov 14, 2016 by danielpcs (46 points)
edited Nov 26, 2016 by volzhs

Thanks, tried few more things inspirated by this answer and did it.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.