install Let's Encrypt SSL certificate for the SolusVM Master hostname?
-
Connect to SolusVM Master server over SSH.
-
Download installation package:
# wget -O - https://get.acme.sh | sh -s email=my@example.com
Replace my@example.com with the actual mail address you are going to use for Let's Encrypt registration
-
Issue the certificate:
# /root/.acme.sh/acme.sh --set-default-ca --server letsencrypt --issue -d <MASTER_HOSTNAME> -w /usr/local/solusvm/www/.verification
where <MASTER_HOSTNAME> - is actual master server hostname.
-
Install the certificate:
# /root/.acme.sh/acme.sh --installcert -d <MASTER_HOSTNAME> \
--key-file /usr/local/svmstack/nginx/ssl/ssl.key \
--fullchain-file /usr/local/svmstack/nginx/ssl/ssl.crtwhere <MASTER_HOSTNAME> - is actual master server hostname.
-
Restart the services below to apply changes:
# cd /usr/local/svmstack/nginx/ssl && cat ssl.key ssl.crt > ssl.pem
# systemctl restart svmstack-nginx
# sh /usr/local/svmstack/sshwebsocket/quit
# sh /usr/local/svmstack/sshwebsocket/port_check - Create a
cert.pem
file for noVNC and HTML5 consoles:# cat /usr/local/svmstack/nginx/ssl/ssl.crt /usr/local/svmstack/nginx/ssl/ssl.key > /usr/local/solusvm/includes/nvnc/cert.pem
in case of any issue Please Open Ticket to support department