frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

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

ValentineValentine Member
edited November 2019 in Web hosting control panels

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.9 with CentOS 7" template and is meant to work on our self-managed virtual private servers.

0. Preliminary requirements:
"Webmin 1.9 with CentOS 7" template installed on the 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 the 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 the "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 a new "Virtual server":
Open "Server Configuration" > "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" check "SSL website enabled?" and save. Then proceed with the step above.

Comments

  • PomicaPomica Member
    edited November 2017
    "detail": "Error creating new cert :: too many certificates already issued for: time4vps.cloud"
    is what i get when trying this method.
  • Pomica said:
    "detail": "Error creating new cert :: too many certificates already issued for: time4vps.cloud"
    is what i get when trying this method.
    Apparently our client have just issued too many certs on time4vps.cloud domain o Let's Encrypt have a limit on that. You could use your own domain and issue certificate for it.
  • Hi, i getting error 

    Unfortunately, Let's Encrypt cannot be used on your system : The Python module argparse needed by the built-in Let's Encrypt client is not installed.

    Operating System = Redhat Linux Fedora 12
    Webmin version 1.860

    i hope you know how to solve it. Thanks 
  • WilliamWilliam Moderator
    Hello,
    as the error indicates, your server probably lacks the argparse module of Python. To install it, as mentioned in the information provided by Python, you should try the following commands:

    python setup.py install

    easy_install argparse

    pip install argparse


    For more information you can check the Python page.

  • edited May 29

    I am using a cloud storage app and I want to know how to change password of the app.

Sign In or Register to comment.

Time4VPS

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2024 Time4VPS. All rights reserved.

Get In Touch