Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Current »

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:

  1. Set after server_name the correct Sense server IP address.

  2. ssl_certificate "C:\ProgramData\VDG Security\SenseOpenAPI\settings\<your_certificate_name>.crt";

  3. 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.

Example with supplied sfx file from costumer

Prerequisites:

  1. Keystore Explorer installed – You can download it from Keystore Explorer.

  2. Your .pfx file ready.


Steps:

  1. Open the .pfx File

    • Launch Keystore Explorer.

    • Click File > Open and select your .pfx file.

    • Enter the password when prompted.

  2. Locate the Certificate

    • Once the keystore is open, you’ll see entries like PrivateKeyEntry or CertificateEntry.

    • Right-click on the certificate you want to export.

  3. Export as a .crt

    • Choose Export > Export Certificate Chain.

    • afbeelding-20250214-134757.png
    • In the export dialog:

      • Select PEM depending on your requirement:

        • .crt with PEM format is common (Base64-encoded).

        • afbeelding-20250214-140913.png
      • Save the certificate with a .crt extension. Normally fullchain.crt

  4. Export the Private Key

    • If you need the private key separately:

      • Right-click on the PrivateKeyEntry and choose Export > Export Private Key.

      • afbeelding-20250214-141038.png
      • afbeelding-20250214-141148.png
      • Export it as a .key in PEM format.

      • afbeelding-20250214-141325.png
  1. Export Certificate Chain to export

  • No labels