Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Tomcat install SSL Certificate-HTTPS SSL tutorial

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report