This short life we all lose eventually

You might as well be bold, love someone, climb a mountain, follow a dream


Tomcat Install the SSL certificate

Need the material

  • SSL downloaded certificate

Assume that the certificate name is A.pfx and the password is pass

  • The tomcat server

Installation steps

1. Go to the Tomcat root directory, create the cert folder, and copy the certificate file

Tomcat directory/cert/Amy polumbo fx

2. Go to the tomcat directory,/conf/server. XML and find

    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true" keystoreFile="a.pfx" keystoreType="PKCS12"
			   keystorePass="pass">
    </Connector>
Copy the code

Some notes

1, the HTTP service before open port 8080 is still useful, replaced by a HTTPS, the default port 443, configured to 8443 here, so when I visit, need to specified port, for example: www.streetcorner.vip:8443/estatemanag…