Menu Close

How to install Let’s Encrypt certificates in your Webmin Virtualmin control panel

letsencrypt webmin virtualmin

Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. Let’s Encrypt is a service provided by the Internet Security Research Group (ISRG).

In this tutorial, you will find out how you can benefit from these certificates by providing security for your Webmin websites.

The tutorial was prepared with our “Webmin 1.7 with CentOS 6” template and is meant to work on our self-managed virtual private servers.

Requirements:

Webmin 1.7 with CentOS 6″ template installed on the server;
Fully updates server software (yum update);
“Git” package installed (yum install git -y).

Download Let’s Encrypt client

git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt

Install the necessary Python module

yum install python-argparse -y

Add additional name server

For Let’s Encrypt certificates to work properly we have to add “localhost” nameserver. We do so by going to Webmin control panel > Networking > Network Configuration > Hostname and DNS Client then you add 127.0.0.1 as additional name server:

additional name server webmin virtualmin
additional name server webmin virtualmin

Enable SSL feature

for certificate function to be active for your virtual servers we have to enable it in Virtualmin control panel. We have to open System Settings > Features and Plugins and then check SSL website

additional name server webmin virtualmin 1
additional name server webmin virtualmin 1

Install Let’s Encrypt certificate

For a new Virtual server:
Open Server Configuration > Manage SSL Certificate > Let’s Encrypt and press button Request Certificate

For existing “Virtual server”:
Before proceeding with the certificate installation we have to enable the “SSL website feature”. Open Edit Virtual Server > Enable features then check SSL website enabled and save. Then proceed with a step above.

Leave a Reply

Your email address will not be published. Required fields are marked *