every 3rd months
related: http://okjsp.tistory.com/1165643564
[root@169s /root]# rm -rf .keystore
[root@169s /root]# $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
Enter keystore password:
Re-enter new password:
What is your first and last name?
[Unknown]: www.okjsp.pe.kr
What is the name of your organizational unit?
[Unknown]: okjsp
What is the name of your organization?
[Unknown]: okjsp
What is the name of your City or Locality?
[Unknown]: seoul
What is the name of your State or Province?
[Unknown]: seoul
What is the two-letter country code for this unit?
[Unknown]: KR
Is CN=www.okjsp.pe.kr, OU=okjsp, O=okjsp, L=seoul, ST=seoul, C=KR correct?
[no]: y
Enter key password for <tomcat>
(RETURN if same as keystore password):
Re-enter new password:
[root@169s /root]# $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
Enter keystore password:
Re-enter new password:
What is your first and last name?
[Unknown]: www.okjsp.pe.kr
What is the name of your organizational unit?
[Unknown]: okjsp
What is the name of your organization?
[Unknown]: okjsp
What is the name of your City or Locality?
[Unknown]: seoul
What is the name of your State or Province?
[Unknown]: seoul
What is the two-letter country code for this unit?
[Unknown]: KR
Is CN=www.okjsp.pe.kr, OU=okjsp, O=okjsp, L=seoul, ST=seoul, C=KR correct?
[no]: y
Enter key password for <tomcat>
(RETURN if same as keystore password):
Re-enter new password:
related: http://okjsp.tistory.com/1165643564