How to install SSL Certificate
Configuration Article | CA-20231016-TS-01 VDG Sense | Software Installation | HTTPS and certificates |
|
Copy the certificate (.crt file) and key (.key file) to the Sense server into the folder: C:\ProgramData\VDG Security\SenseOpenAPI\settings
Now browse to the folder C:\Program Files\VDG Security\Sense\Software\nginx\conf\proxies
Open the file: localhost-ssl.conf for editing.
Modify the following 3 settings in this file:
Set after server_name the correct Sense server IP address.
ssl_certificate "C:\ProgramData\VDG Security\SenseOpenAPI\settings\<your_certificate_name>.crt";
ssl_certificate_key "C:\ProgramData\VDG Security\SenseOpenAPI\settings\<your_key_name>.key";
NOTE: Choose a unique name regarding certificate- and key-name. If these are the same as the defaults they will be overwritten after restarting Sense certificate services.
Save and close the file.
Restart the SenseNginx service via Windows Services app.
Open the browser on the server where the certificate is installed and go to: https://your_server_IP_here
The session should now be secured and with a valid/accepted certificate.