更新时间:2023-11-07 23:24:28
此问题的根本原因是keytool实用程序不能正确解码在提示符下输入的非ASCII密码.
The root cause of this problem is that the keytool utility does not decode a non-ascii password entered at prompt correctly.
这是一个已知问题,可以在 http:中找到//bugs.sun.com/bugdatabase/view_bug.do;jsessionid=53546691146578386c644cb554976?bug_id=6433238
This is a known issue which can be found at http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=53546691146578386c644cb554976?bug_id=6433238
因此,解决方案是使用在提示时未输入密码的密码创建密钥库.这可以通过以下方式完成:
So, the solution is to create a keystore with a password not entered at prompt. This can be done in the following way:
keytool -genkey -keystore myKeyStore -alias myAlias -storepassすてきなパスワード
keytool -genkey -keystore myKeyStore -alias myAlias -storepass すてきなパスワード