读书人

生成tomcat证件文件

发布时间: 2012-10-11 10:16:10 作者: rapoo

生成tomcat证书文件

root@Test:~# keytool -genkey -alias TEST -keyalg RSA
Enter keystore password:? 123456
What is your first and last name?
? [Unknown]:? TEST
What is the name of your organizational unit?
? [Unknown]:? NSD
What is the name of your organization?
? [Unknown]:? Org
What is the name of your City or Locality?
? [Unknown]:? Beijing
What is the name of your State or Province?
? [Unknown]:? Beijing
What is the two-letter country code for this unit?
? [Unknown]:? CN
Is CN=TEST, OU=NSD, O=Org, L=Beijing, ST=Beijing, C=CN correct?
? [no]:? y
?
Enter key password for <TEST>
? (RETURN if same as keystore password):?

在用户目录下生成.keystore文件。

读书人网 >软件架构设计

热点推荐