Home vps How to Install Let’s Encrypt SSL on VPS Running Webmin/Virtualmin

How to Install Let’s Encrypt SSL on VPS Running Webmin/Virtualmin


Let’s Encrypt is the go-to choice for those who need free SSL certificates. And luckily for Webmin users, SSL certificates from Let’s Encrypt can be requested and installed directly from the web-based control panel.

In this tutorial, we will explain how to install Let’s Encrypt SSL on a VPS running Webmin.

Why Do You Need SSL Certificates From Let’s Encrypt?

There are many methods of protecting a website, and enabling an SSL certificate is one of them. SSL (Secure Sockets Layer) secures your connection by encrypting the data sent between the browser and the server.

Most popular web browsers like Chrome and Firefox alert the users when they’re on a non-secure website. As such, having an SSL certificate can help you gain visitors’ trust and improve the site’s credibility.

Unfortunately, due to its cost, many websites do not use SSL. To address this issue, the Internet Security Research Group (ISRG) set up a free certificate authority named Let’s Encrypt. It currently serves more than 150 million websites.

Installing Let’s Encrypt SSL on VPS by Using Webmin

Installing Let’s Encrypt SSL by using Webmin is pretty easy and quick. Follow the steps below to know how to do it.

Step 1: Enable SSL Settings

Before we proceed, make sure that you already set Webmin as your VPS operating system.

Log in to the Hostinger’s hPanel and head to the Servers tab. Then, find Other settings section and change the operating system to Ubuntu 18.04 64bit with Webmin/Virtualmin/LAMP. Press Save changes.

After that’s done, we need to log in to your Webmin and enable the SSL option for your website:

  1. Login to your Webmin/Virtualmin by typing https://your.vps.ip.address:10000. The IP address along with your login credentials can be found in the hPanel’s Servers tab.
  2. You’ll be prompted with a warning from the browser. For Chrome users, click Advanced and select Proceed to [your IP address].
  3. Enter your login credentials. If you forgot your password, find the Root password option in the hPanel’s Servers tab and reset your password from there.
  1. Once logged in, select the Virtualmin tab from the sidebar menu, and click Edit Virtual Server. 
  2. Head over to the Enabled Features section and tick the Apache SSL website enabled? option. Hit Save Virtual Server.

Step 2: Install Let’s Encrypt SSL on Your VPS

Once SSL is enabled, we can install the Let’s Encrypt certificate from your Webmin:

  1. From the Virtualmin panel, head over to Server Configuration -> SSL Certificate. Then, select the Let’s Encrypt tab and allow some time for this section to load.
  2. Adjust the following settings according to your needs:
    • Request certificate for — two options are available: Domains associated with this server and Domains listed here. Choose the former to install the certificate on your virtual hosts’ default domain names. However, if you need to install the certificate on other domains and subdomains within the same server, choose the latter and enter the domain names.
    • Months between automatic renewal  — Let’s Encrypt certificates are valid for 90 days. Hence, the value of this option should not be more than three.
  3. Once you’re done making changes, click Request Certificate.

That’s it! You should now be able to access your website using the HTTPS protocol.

please leave a comment lt’s very important for us


  1. Can I just say what a comfort to find somebody that truly understands what they are
    talking about online. You actually understand how to bring an issue to light and make it
    important. A lot more people have to check this out and understand this side of your story.
    It’s surprising you aren’t more popular given that you certainly possess the gift.

  2. I loved as much as you will receive carried out right here.
    The sketch is tasteful, your authored material stylish.
    nonetheless, you command get got an shakiness over that you wish be delivering the following.
    unwell unquestionably come further formerly again since exactly the same nearly a
    lot often inside case you shield this hike.

  3. Hi! I know this is kind of off topic but I was wondering which blog platform are you using for this
    site? I’m getting sick and tired of WordPress because I’ve had issues with
    hackers and I’m looking at alternatives for another platform.
    I would be fantastic if you could point me in the direction of a good platform.

  4. You have made some really good points there. I looked on the web to find out more about the
    issue and found most people will go along with your views on this web site.

  5. Hey There. I discovered your weblog the use of msn. This is an extremely well written article.
    I’ll be sure to bookmark it and return to read extra of
    your helpful information. Thanks for the post. I will definitely return.

  6. Good post. I learn something totally new and challenging on sites I stumbleupon on a daily basis.
    It will always be helpful to read articles from other writers and use a little something from their web


Please enter your comment!
Please enter your name here

Exit mobile version