*HTTPS support for 2.5 by using Ngnix
Software Installation Article | SIA-20220614-MH-01 VDG Sense | Software Installation |
Manual procedure:
Download Ngnix https://nginx.org/en/download.html
Download Windows Service Wrapper https://github.com/winsw/winsw/releases/tag/v2.11.0
Copy Nginx to C:\Program Files\VDG Security\Sense\Software\Nginx
Copy Windows service Wrapper to C:\Program Files\VDG Security\Sense\Software\Nginx
Rename Windows service Wrapper to nginxservice.exe
Create file nginxservice.xml and add following content
<service> <id>SenseNginx</id> <name>SenseNginx</name> <description>nginx for VDG.</description> <executable>C:\Program Files\VDG Security\Sense\Software\nginx\nginx.exe</executable> <logpath>C:\ProgramData\VDG Security\SenseNginx\log</logpath> <log mode="roll-by-size"> <sizeThreshold>5120</sizeThreshold> <keepFiles>10</keepFiles> </log> </service>
Run ngnixservice.exe install in cmd prompt as administrator
Create certificated using openssl or other program and put them in folder C:\ProgramData\VDG Security\SenseNginx\settings
Copy nginx.conf to folder C:\Program Files\VDG Security\Sense\Software\Nginx
Copy file locations-legacy-api.conf to C:\Program Files\VDG Security\Sense\Software\Nginx\conf\locations
Copy file localhost-ssl.conf to C:\Program Files\VDG Security\Sense\Software\Nginx\conf\servers
Check the location of the certificate files in localhost-ssl.conf
Restart SenseNginx service
Browse to https://[serverip]
Ignore invalid certificate error (this is normal because it is a self signed certificate)
Login using Sense Credentials