How to obtain or renew Let's Encrypt certificate for SolusVM 2 Management node?

Have more questions? Submit a request

Applicable to:

  • SolusVM 2

Question

How to obtain or renew Let's Encrypt certificate for SolusVM 2 Management node?

Answer

  1. Connect to SolusVM 2 management node
  2. Access solus_nginx container:

    # docker exec -ti $(docker ps --format '{{ .ID }}' -f name=solus_nginx) sh

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

  4. Reload nginx service inside of the container to apply changes

    # nginx -s reload

  5. Exit from container and check the result.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.