*HTTPS support for 2.5 by using Ngnix

Software Installation Article | SIA-20220614-MH-01

VDG Sense | Software Installation

Manual procedure:

  1. Download Ngnix https://nginx.org/en/download.html

  2. Download Windows Service Wrapper https://github.com/winsw/winsw/releases/tag/v2.11.0

  3. Copy Nginx to C:\Program Files\VDG Security\Sense\Software\Nginx

  4. Copy Windows service Wrapper to C:\Program Files\VDG Security\Sense\Software\Nginx

  5. Rename Windows service Wrapper to nginxservice.exe

  6. 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>
  7. Run ngnixservice.exe install in cmd prompt as administrator

  8. Create certificated using openssl or other program and put them in folder C:\ProgramData\VDG Security\SenseNginx\settings

  9. Copy nginx.conf to folder C:\Program Files\VDG Security\Sense\Software\Nginx

  10. Copy file locations-legacy-api.conf to C:\Program Files\VDG Security\Sense\Software\Nginx\conf\locations

  11. Copy file localhost-ssl.conf to C:\Program Files\VDG Security\Sense\Software\Nginx\conf\servers

  12. Check the location of the certificate files in localhost-ssl.conf

  13. Restart SenseNginx service

  14. Browse to https://[serverip]

  15. Ignore invalid certificate error (this is normal because it is a self signed certificate)

  16. Login using Sense Credentials