キーペア作成
keytool -genkeypair -alias tomcat -keyalg RSA -keysize 2048
/usr/local/aipo/tomcat/conf/server.xml を編集
<Connector port="443" protocol="HTTP/1.1" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystorePass="XXXXXXX" />
CSR作成
keytool -certreq -alias tomcat -file yourhost.csr
証明書インポート
keytool -importcert -alias root -trustcacerts -file pathToRootCert.crt keytool -importcert -alias CA -trustcacerts -file pathToCACert.ca.crt keytool -importcert -alias tomcat -trustcacerts -file pathToServerCert.crt