• 1 year

    1 year

    YetiShare / Core


How to Install LetsEncrypt Free SSL Certs on Ubuntu & VestaCP

Install Details:

Step 1: Open your SSH console, as root, and run the following commands
Step 2: wget -O /usr/local/bin/generate_ssl
Step 3: chmod u+x /usr/local/bin/generate_ssl
Step 4: generate_ssl vestacp_username domainname
i.e.: generate_ssl admin
Step 5: Login VestaCP control Panel and enable ssl

Automate renewals:

apt-get install certbot
crontab -e

15 3 * * * /usr/bin/certbot renew --quiet


- If you receive a "Challenge failed for domain" error, ensure there are no old certs in "/home/admin/conf/web".
- If you receive other errors, ensure any alias domains listed in VestaCP (for example the www. version of the subdomain) has DNS pointing at the server.