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

Java O2OA how to configure the server to enable HTTPS

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

In this article, the editor introduces in detail "how to configure the server for Java O2OA to enable HTTPS", the content is detailed, the steps are clear, and the details are handled properly. I hope that this article "how to configure the server for Java O2OA to enable HTTPS" can help you solve your doubts.

1. Modify the configuration file node_127.0.0.1.json:

1. File location: o2server/config/node_127.0.0.1.json. If the file is not in the directory, you can COPY it from the o2server/configSample directory to the config directory.

As shown in the following figure:

2. Modify node_127.0.0.1.json content: set the sslEnable in the web and application objects in the configuration file to true.

{"enable": true, "isPrimaryCenter": true, "application": {"enable": true, "port": 20020, "sslEnable": true, "proxyHost": "", "proxyPort": 20020, "redeploy": true, "scanInterval": 0, "includes": [], "excludes": [], "weights": [], "# enable": "whether to enable # #" "# port": "http/https port, which is responsible for providing data access interface to the front end. Default is port 20020. # "," # sslEnable ":" whether to enable ssl transfer encryption. If enabled, the config/keystore file will be used as the key file. Use the sslKeyStorePassword field in the config/token.json file as the key password and sslKeyManagerPassword as the administrative password. # "," # proxyHost ":" proxy host, when the server is mapped to the public network through a proxy server such as apache/eginx or through a router, you need to set this address to indicate the public network access address. # "," # proxyPort ":" proxy port " When the server is mapped to the public network through a proxy server such as apache/eginx or port mapped through a router, you need to set this address to indicate the public network access port. # "," # redeploy ":" whether to reload all applications every time you start "," # "," # scanInterval ":" apply reload scan interval "

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

Development

Wechat

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

12
Report