Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Tomcat install SSL Certificate-HTTPS SSL tutorial

Shulou Source: shulou.com Published: 2022-06-01 01:36:26 10月04日 Update

Tomcat install SSL Certificate-HTTPS SSL tutorial

Tomcat installs SSL certificate

Step 1: go to the Tomcat installation directory, d:/apache-tomcat-8.0.18, and put the downloaded jks files in the tomcat installation directory.

D:/apache-tomcat-8.0.18/getssl.cn.jks

Step 2: open the tomcat configuration file conf/server.xml

Tomcat generally defaults to port 8080 or port 80. Find this section first.

Insert the following configuration below this paragraph:

KeystoreFile= "getssl.cn.jks" [jks file name needs to be modified] keystorePass= "123456" [jks password]

Note:

The firewall should allow port 443.

To use CDN, you need to ask the CDN service provider to install SSL

If the configuration above Tomcat 6.0fails to start, change protocol to protocol= "HTTP/1.1"

Windows platform runs tomcat. There must be tcnative-1.dll in the bin directory.

Org.apache.coyote.http11.Http11Protocol-blocking Java connectororg.apache.coyote.http11.Http11NioProtocol-non blocking Java connectororg.apache.coyote.http11.Http11AprProtocol-the APR/native connector.

Global trusted CA institutions

Tags: Files directories ports configuration certificates tutorials items global trusted password platform file name service provider institution precautions firewall service run fire prevention Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MySQL Shulou Technology MariaDB Microsoft