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).
The tutorial was prepared with our "Webmin 2.3 (AlmaLinux 9, PHP 8.4, MariaDB 10.11)" template and is meant to work on our self-managed virtual private servers.
Preliminary requirements
Webmin 2.3 (AlmaLinux 9, PHP 8.4, MariaDB 10.11) is installed on our server;
Fully updates server software (dnf update).
Configuring Let’s Encrypt
In the left sidebar, navigate to "Webmin";
Select "Webmin Configuration";
Click on "SSL Encryption".
Open "Let's Encrypt" tab;
Under “Hostnames for certificate”, enter your server's hostname or domain, pointed to your VPS;
Set 'Months Between Automatic Renewal' to 1. This ensures Let's Encrypt certificates are automatically renewed one month before their expiration date.
Click "Request Certificate";
Once it's finished, you will receive a confirmation indicating that the certificate has been successfully issued.
Testing
To verify the secure connection, open your browser and enter your server's hostname or the domain used for the certificate, followed by port 10000:
https://your_hostname:10000
You should see a secure connection with a valid SSL certificate displayed in the browser.