[Webmin] Let’s encrypt certificates installation in your Webmin control panel

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.

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

1. Downloading “Let’s encrypt” client:
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt

2. Installing necessary Python module:
yum install python-argparse -y

3. Adding 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” and adding “127.0.0.1” as additional name server:

4. Enabling SSL feature
Also 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 after checking “SSL website” save settings:

5. Installing “Let’s encrypt” certificate
For new “Virtual server”:
Open “Server Configuration” > “Manage SSL Certificate” > “Let’s Encrypt” and press button “Request Certificate”:

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

No Comments

Leave a Reply

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

Linux Applications
How to resolve spamming issue with postfix

How to resolve the spamming issue with your postfix mailserver having CWP. Before starting we should stop the postfix mailserver. service postix stop For start lets count the number of emails stuck in the mail server queue: postqueue -p | grep -c “^[A-Z0-9]” Select few similar emails and use IDs …

Web hosting control panels
How to manually import emails

Instructions for manual import of the emails to your CWP server. 1. Create all required mailboxes via CWP2. Login in each created mailbox (this will create required file and folder structure)3. Copy the emails (like any other files) in /var/vmail/DOMAIN.COM/USERNAME4. Fix Permissions (chown uploaded files vmail:mail) Example path for email …

General
Basic and most common iptables rules

Iptables is basically a powerful firewall, which can allow a user to set specific rules to control incoming and outgoing traffic. You can use it to block specific port, IP addresses and much more. In this article we present most common uses of iptables. The iptables rules can be specified …