+2 votes
in Web & Google by (71.8k points)
When HestiaCP or VestaCP is installed on a server, it installs its own default certificate for the hostname and hence browsers give warning about an invalid certificate. How can I install Let’s Encrypt SSL Certificate for the hostname?

1 Answer

+1 vote
by (349k points)
edited by
 
Best answer

It's very simple to install the "Let’s Encrypt" SSL Certificate for the hostname. Here are the steps:

  • Open the terminal and SSH to your server using root login.
  • Check the hostname of your server using the command hostname. If the hostname is not set correctly (e.g. host.domain.com), set the hostname.

# hostname host.domain.com

  • Once a proper hostname is set, type the following command on the terminal to install Let’s Encrypt SSL Certificate for the hostname.

# v-add-letsencrypt-host


...