null

​How to enable HTTPS (after version 7.22) in CMSV6 Server

Posted by HIKWAY Technology fleet management solutions on 5th Jan 2021

Methods as below:

1. Obtain nginx SSL certificate

Refer to Obtaining AliCloud Free SSL Certificate

2. After decompressing the certificate file, put it into the following path

3. Make sure to enable after configuring as follows

note:

1. Check whether there are multiple nginx processes running in the task manager. If there are multiple, you can stop the nginx server, kill all processes and restart the nginx server.

2. The HTTPS protocol has been enabled in the old version. After upgrading to version 7.22, the web port needs to be modified to another port, and the HTTPS port is set to the old version web port.

old version

7.22 version

2. Web port mapping:

If the HTTP protocol is used, the web port needs to be mapped, as shown in Figure 8080

If you are using HTTPS protocol, you need to map the Nginx port, as shown in Figure 443

If both Https and Http are checked and enabled in Nginx (both ports 443 and 80 in Nginx need to be mapped), when visiting http website, it will jump to https website, such as http://test.cmsv8.com, it will jump Go to http://test.cmsv8.com,

3. HTTPS preview video needs to open the following TCP ports in addition:

16604; 16605; 16609; 16611; 16617; 16618; 16619; 16620; 16621; 16622