Let's Encrypt: How can I get it working on my Linux VPS?

Self-managed VPS only: You're able to install "certbot" and automate certificate management.


Although we can't provide support under your Self-managed VPS fee, we're able to provide steps to ensure SSL coverage.

  1. Log-in to the SSH console of your CentOS VPS
    ssh root@103.127.163.xyz
  2. We'll need to install the EPEL repository firstly:
    sudo yum install epel-release
  3. Provided you're using standard configuration, install it:
    sudo yum install certbot python2-certbot-apache mod_ssl
  4. Get certificates for the www & non-www of your domain name:
    sudo certbot --apache -d example.com -d www.example.com
  5. Add a cron job to ensure that certificates are renewed on-time:
    sudo crontab -e
    1. Press enter at the top to make a new line, then add to it:
      0 0,12 * * * certbot renew
  6. That's it! You should now have coverage & automatic renewals!
    1. Once you've configured your web server (Apache), it should be HTTPS
    2. Make sure you take advantage of the information trove that is the internet for help!

NOTE: cPanel+WHM servers need not follow the above, as cPanel AutoSSL will do the same job and is built-in!

  • 24 users found this helpful
Was this answer helpful?

Similar, and hopefully helpful

AutoSSL: How does it work on my Virtual Server (VPS)?

Virtual Server customers enjoy AutoSSL configured by default for all domains, backed by the same...

DV certs: I've ordered a new SSL Certificate, what next?

Now that your order is complete, head to my.LEOPARD to activate the DV SSL certificate via...

EV certs: How long do EVs take to be issued by the CA?

Extended Validation (EV) SSL certificates can take anywhere from 5 to 30 days to be issued...

A+ SSL with HSTS: Your guide to mastering SSL Labs test

We've provided a guide to achieve A+ SSL/TLS rating on SSLLabs.com test - good luck! Once...

VPS with AutoSSL: Changing from cPanel to Let's Encrypt

This guide is for self-managed VPS customers who wish to change their cPanel AutoSSL provider/CA...