cuốn sách gpt4 ai đã làm

tomcat - 无法使用 JDK6 生成 keystore ,但可以使用 JDK5 生成

In lại Tác giả: Walker 123 更新时间:2023-11-28 22:11:32 29 4
mua khóa gpt4 Nike

我正在尝试使用以下 keytool 命令为我的应用程序生成 keystore :

keytool -genkey -alias tomcat -keystore tomcat.keystore -keyalg RSA -keysize 2048 < keystore.data.txt

它在 JDK5 上运行良好,在 JDK6 上运行不佳。仅供引用:

用JDK5执行时

Enter keystore password: What is your first and last name?
[Unknown]: What is the name of your organizational unit?
[Unknown]: What is the name of your organization?
[Unknown]: What is the name of your City or Locality?
[Unknown]: What is the name of your State or Province?
[Unknown]: What is the two-letter country code for this unit?
[Unknown]: Is CN=tpserver-hostname, OU=MyCompany, O=MyOrg., L=MyCity, ST=MyState (ST), C=IN correct?
[no]:
Enter key password for
(RETURN if same as keystore password):

JDK6执行时

Enter keystore password: Re-enter new password: They don't match. Try again
Enter keystore password: Re-enter new password: They don't match. Try again
Enter keystore password: Re-enter new password: They don't match. Try again
Too many failures - try later

请帮助我。

câu trả lời hay nhất

是的,你是对的。从JDK 6开始添加'重新输入新密码'。所以你必须在密码后输入

关于tomcat - 无法使用 JDK6 生成 keystore ,但可以使用 JDK5 生成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37924135/

29 4 0
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress