I use Windows OS with English language and US keyboard setting. I use this command to generate keystore. It works fine.
C:\java6\jre\bin\keytool -genkey -keyalg RSA -alias mykey -validity 3652 -keystore C:\mykeystore -storepass 111111111 < data.txt
The data.txt
My name
My org unit
My org
My city
My state
ch
yes
However, this program cannot work normally on Windows with German language and keyboard setting. I must change the word "yes"" to "ja" in data.txt to make it works.
It isn't good to modify the data.txt.
Is there any way to set English as default language for keytool?