阿里云上CentOS7的Tomcat8.5启动https

1:申请阿里云的免费https

2:修改tomcat/conf/server.xml

    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true">
        <SSLHostConfig>
              <Certificate certificateKeystoreFile="/usr/tomcat/https/2492434_lijiahong.cn.pfx"
              certificateKeystoreType="PKCS12"
              certificateKeystorePassword="bYUh3vps"
              certificateKeyAlias="alias"/>
        </SSLHostConfig>
    </Connector>

PS:如何查看alias
keytool -list -v -keystore pfx文件 -storepass 密码