keytool -genkey runs in a loop to generate .keystore file

白昼怎懂夜的黑 提交于 2019-11-29 14:09:21

KeyTool uses a locale-specific resource bundle for comparing your answer to the confirmation question with "yes"/"y". In other words: It expects the answer in the same language as the question.

For example in German:

  Ist CN=test, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=DE richtig?
  [Nein]:  ja

Answering in English ("yes") to the above question would have been interpreted by keytool as "user did not confirm" and therefore keytool would start over with the questions.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!