生成SSL证书申请文件
时间:2006-10-12 来源:饮鸩止渴
bash-2.03$ keytool -delete -alias tomcat -keystore ft.keystore
Enter keystore password: abcdef
bash-2.03$ keytool -genkey -alias tomcat -keyalg RSA -keystore ft.keystore
Enter keystore password: abcdef
What is your first and last name?
[Unknown]: webportal.ft.com
What is the name of your organizational unit?
[Unknown]: ft org
What is the name of your organization?
[Unknown]: R&D
What is the name of your City or Locality?
[Unknown]: A City
What is the name of your State or Province?
[Unknown]: B country
What is the two-letter country code for this unit?
[Unknown]: AB
Is CN=swebportal.ft.com, OU=ft org, O=R&D, L=A City, ST=B country, C=AB correct?
[no]: yes
Enter key password for
(RETURN if same as keystore password): abcdef
bash-2.03$ keytool -certreq -alias tomcat -file request.csr -keystore ft.keystore
Enter keystore password: abcdef