Jetty installs an SSL certificate

更新时间:2024-08-06  浏览次数:7402次

1.Download the JKS type SSL certificate from this site and unzip it:

2.Create a cert directory for storing certificates in the Jetty installation directory.

Upload the certificate file to the created cert directory.

3.Open the Jetty configuration files jetty-ssl.xml and jetty-ssl-context.xml.

In the jetty-ssl-context.xml configuration file, locate the following parameters:

Modify according to the example below:

4.In the jetty-ssl.xml configuration file, locate the following parameters, and modify the port used by the HTTPS service to 443.

5.Edit the start.ini file in the Jetty installation directory, and add the following content at the end.

6.In the Jetty installation directory, execute the following command to restart Jetty.

 

© 2024 Copyright©2020-2022 GCNAME.COM,All rights reserved. 版权所有,保留所有权利 注册人权利与责任注册人教育信息隐私政策