Applicable to:
- SolusVM 2
Question
How to obtain or renew Let's Encrypt certificate for SolusVM 2 Management node?
Answer
- Connect to SolusVM 2 management node
- Access
solus_nginx
container:# docker exec -ti $(docker ps --format '{{ .ID }}' -f name=solus_nginx) sh
-
Run the following command inside of the container to issue Let's Encrypt certificate:
# /bin/installer -letsencrypt -domain your.domain.com -email admin@admin.com -http-port 5080 -out-cert /etc/nginx/certs/cert.crt -out-priv /etc/nginx/certs/priv.key
Where a
your.domain.com
should be replaced with actual domain name.-out-cert
and-out-priv
are the options to specify a path to certificate in nginx container(in host system is a /usr/local/solus/certs/ -
Reload
nginx
service inside of the container to apply changes# nginx -s reload
- Exit from container and check the result.
Comments
0 commentsPlease sign in to leave a comment.