To make the server with DCImanager available via HTTPS protocol, you will need an SSL certificate. To purchase an SSL certificate, contact any certificate issuing service or issue a free Let's Encrypt certificate.
This article describes how to connect and change the SSL certificate.
Connecting a new certificate
Copy the certificate files to the server with DCImanager. For example, in the /root/ directory.
Note
After connecting, the certificate files must remain in this directory with the same names.
Connect to the DCImanager server via SSH.
Create a patch_add_ssl.yaml file with the following contents:
/root/dci.crt — the path and name of the SSL certificate
/root/dci.key — the path and name of the SSL certificate key
Note
You don't need to change /etc/ssl/certs/default.domain.crt and /etc/ssl/private/default.domain.key — these are paths to the certificate inside the docker container
Run the command:
dci add-patch -f patch_add_ssl.yaml -p add_ssl
CODE
Specify the server domain name in the DomainName parameter of the /opt/ispsystem/dci/config.json configuration file: