In a nutshell you must pass the -Duser.language=en
option to the Java machine. I know of two ways to do this:
For just one invocation, specify the
-J-Duser.language=en
option on thekeytool
command line, e.g.keytool -J-Duser.language=en -genkey -keyalg RSA -alias mykey -validity 3652 -keystore C:\mykeystore -storepass 111111111 < data.txt
To change Java language globally, set the
JAVA_TOOL_OPTIONS
environment variable to have the-Duser.language=en
value.