Skip to content

Configuring SSL

Dan Wickett edited this page Apr 25, 2024 · 3 revisions

Running On-Site WebCSD under SSL

SSL is now enabled by default, to customise this, we recommend following a similar process to that described in the database configuration and user interface customisation sections. Which is to store these settings in a separate docker-compose file. You can then include this file in your startup command.

To configure HTTPS, you will need to do the following:

  1. Obtain a certificate and store it in a folder that can be referenced in the volumes section (path/to/certificate).

  2. Update the csd-platform service in your docker-compose file to configure HTTPS support. An example of what to add and in which section, is shown below:

  services:
  csd-platform:
    volumes:
      - /ccdc/on-site-webcsd/ssl/star.crt:/etc/nginx/ssl/server_cert.crt:ro
      - /ccdc/on-site-webcsd/ssl/star.key:/etc/nginx/ssl/server_key.key:ro