½øÈë%JAVA_HOME%bin
ÔËÐÐÃüÁî:keytool -genkey -alias tomcat -keyalg RSA
ÒÔtomcat °²×°ÃÜÂëΪ123456,ketoolÉèÖÃÃÜÂëΪ123456ΪÀý
ÊäÈëkeystoreÃÜÂ룺 123456
ÄúµÄÃû×ÖÓëÐÕÊÏÊÇʲô£¿
[Unknown]£º test
ÄúµÄ×éÖ¯µ¥Î»Ãû³ÆÊÇʲô£¿
[Unknown]£º org
ÄúµÄ×éÖ¯Ãû³ÆÊÇʲô£¿
[Unknown]£º org
ÄúËùÔڵijÇÊлòÇøÓòÃû³ÆÊÇʲô£¿
[Unknown]£º changchun
ÄúËùÔÚµÄÖÝ»òÊ¡·ÝÃû³ÆÊÇʲô£¿
[Unknown]£º jilin
¸Ãµ¥Î»µÄÁ½×Öĸ¹ú¼Ò´úÂëÊÇʲô
[Unknown]£º CN
CN=ycg, OU=nju, O=nju, L=nanjing, ST=jiangsu, C=nd ÕýÈ·Âð£¿
[·ñ]£º yes
ÊäÈë
£¨Èç¹ûºÍ keystore ÃÜÂëÏàͬ£¬°´»Ø³µ£©£º 123456
Éú³ÉµÄÎļþÔÚµ±Ç°Óû§Ä¿Â¼Ï£¬±ÈÈç /root/.keystore
£¨¶þ£©ÐÞ¸Äserver.xml
enableLookups="true" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true";
clientAuth="false" sslProtocol="TLS" URIEncoding="GBK"
keystoreFile="/root/.keystore" keystorePass="123456"/>