How to Install Webmin with Free Let’s Encrypt SSL on Ubuntu 24.04

Webmin is a web-based interface for managing Linux servers. This guide will walk you through the steps to install Webmin on an Ubuntu 24.04 server and secure it with a free Let’s Encrypt SSL certificate.

Step 1: Update Your System

  • Start by updating your system packages:
sudo apt update && sudo apt upgrade -y
    

Step 2: Install Required Dependencies

  • Install necessary packages such as curl and gnupg:
sudo apt install curl gnupg2 ca-certificates lsb-release -y
    

Step 3: Add Webmin Repository

  • Add the Webmin repository and its GPG key to your system:
curl -fsSL https://download.webmin.com/jcameron-key.asc | sudo tee /etc/apt/trusted.gpg.d/jcameron-key.asc
    
  • Create the Webmin repository file:
sudo sh -c 'echo "deb https://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list'
    
  • Update the package list:
sudo apt update
    

Step 4: Install Webmin

  • Now, install Webmin using the following command:
sudo apt install webmin -y
    

Once installed, Webmin will automatically start. You can check its status with:

sudo systemctl status webmin
    

Step 5: Access Webmin

  • Webmin runs on port 10000 by default. To access Webmin, open a web browser and navigate to:

URL: https://your-server-ip:10000

Since you don’t have an SSL certificate yet, you may receive a warning about the security of the connection. You can safely bypass this warning for now.

Step 6: Install Certbot for Let’s Encrypt

  • To obtain a free SSL certificate from Let’s Encrypt, you need to install Certbot. Run the following command:
sudo apt install certbot -y
    

Step 7: Configure Webmin for SSL with Let’s Encrypt

  • Once Certbot is installed, log in to Webmin and follow these steps to configure Let’s Encrypt:
  1. Go to Webmin Configuration on the Webmin dashboard.
  2. Click on SSL Encryption.
  3. In the Let’s Encrypt tab, configure the following:
    • Hostname for certificate: Enter your domain name (e.g., yourdomain.com).
    • Website root directory: Set it to /var/www/html or your web root directory.
    • Renewal options: Enable the option to renew automatically every two months.
  4. Click Request Certificate to obtain the SSL certificate.

Step 8: Open Ports in UFW Firewall (Optional)

  • If you are using UFW as your firewall, allow ports 10000 (Webmin) and 443 (HTTPS) by running:
sudo ufw allow 10000/tcp
sudo ufw allow 443/tcp
    

Step 9: Verify SSL Certificate

  • After the certificate has been issued, you can access Webmin securely using HTTPS. Navigate to:

URL: https://yourdomain.com:10000

Your connection should now be secured with a Let’s Encrypt SSL certificate.

Conclusion

You’ve successfully installed Webmin on Ubuntu 24.04 and secured it with a free Let’s Encrypt SSL certificate. You can now manage your server securely via the Webmin interface. Be sure to renew the SSL certificate as needed, although Let’s Encrypt usually handles automatic renewals.

Linux VPS

Linux VPS UK

Linux VPS

VPS Windows

Serwer VPS Windows

VPS Linux VPSDeutschland

Linux VPS Hosting

VPS Linux VPSEspaña

Linux VPS Nederland

VPS Linux VPSItalia

VPS Linux VPSPortugal

VPS Linux VPS??????

VPS Linux VPS???????

VPS Linux VPS??

VPS Linux VPSSverige

VPS Linux VPSNorge

VPS Linux VPS????

VPS Linux VPSTürkiye

Remote Desktop Services (RDS)

RDS CAL (Client Access License)

Remote Desktop VPS

Keywords: windows vps uk, windows vps, uk windows vps, windows vps hosting uk, vps windows server, uk vps windows, vps windows, servidor vps windows, vps uk windows, vps with windows, virtual private server windows, windows virtual private server, windows vps server uk, vps for windows, servidores vps windows, vps windows uk, windows vps hosting, vps windows hosting, windows vps server, windows virtual private servers, vps on windows, vps windows servers, cheap windows vps uk, windowsvps, windows desktop vps, buy vps windows, windows server vps, windows 10 vps uk, rds services, rds cal, remote desktop services, remote desktop hosting

#windowsvps #vpshosting #ukvps #virtualserver #windowsvpsuk #vpsserver #hostingvps #cloudvps #windowsvpshosting #cheapvps #vpswithwindows #windowsserver #servervps #vpssolutions #vpswindows #rdscal #remotedesktop #remotedesktopvps #rds #windowsrds

vps windows

 

How to Install Webmin with free Let’s Encrypt SSL Certificate on Ubuntu 24.04

Webmin is a popular web-based control panel that allows you to manage your server through an easy-to-use interface. In this guide, we will walk through how to install Webmin on Ubuntu 24.04 and secure it with a free Let’s Encrypt SSL certificate. This setup is ideal for both local servers and VPS servers.

Step 1: Update Your System

Before installing Webmin, ensure that your Ubuntu 24.04 system is up to date. Open your terminal and run the following commands:

sudo apt update && sudo apt upgrade -y

Step 2: Install Webmin

To install Webmin, first, you need to add the Webmin repository. Start by adding the Webmin GPG key:

wget -qO - http://www.webmin.com/jcameron-key.asc | sudo apt-key add -

Next, add the Webmin repository by editing the sources list:

sudo nano /etc/apt/sources.list

Add the following line at the end of the file:

deb http://download.webmin.com/download/repository sarge contrib

Save the file, then update the package list and install Webmin:


sudo apt update
sudo apt install webmin -y
        

Step 3: Access Webmin

After Webmin is installed, you can access it via your web browser using your server’s IP address on port 10000. For example:

https://your-server-ip:10000

By default, Webmin uses a self-signed SSL certificate, which will prompt a browser warning. In the following steps, we will replace it with a free Let’s Encrypt SSL certificate.

Step 4: Install Let’s Encrypt Certbot

To install a free SSL certificate from Let’s Encrypt, we will use Certbot. Install Certbot using the following command:

sudo apt install certbot -y

Step 5: Configure SSL in Webmin

To configure Webmin to use Let’s Encrypt, follow these steps:

  1. Log in to your Webmin dashboard.
  2. Navigate to Webmin Configuration > SSL Encryption.
  3. Click on the Let’s Encrypt tab.
  4. Enter your domain name under “Hostname for certificate.” Ensure that your domain is pointed to the server.
  5. Select the path to your Webmin directory for the certificate to be installed. Typically, this will be /etc/webmin.
  6. Click the “Request Certificate” button to request and install the Let’s Encrypt SSL certificate.

Webmin will now be secured with an SSL certificate issued by Let’s Encrypt.

Step 6: Enable Auto-Renewal for Let’s Encrypt

To ensure that your Let’s Encrypt SSL certificate is automatically renewed, you need to configure Certbot to run as a cron job. Open the cron file with the following command:

sudo crontab -e

Add the following line to renew the certificate every day at midnight:

0 0 * * * /usr/bin/certbot renew --quiet

Save and exit the file. Certbot will now automatically renew your Let’s Encrypt SSL certificate.

Securing Webmin on a VPS

Using Webmin with a free Let’s Encrypt SSL certificate is a great way to secure your server management. If you’re managing a VPS server, this setup allows you to ensure secure access to your control panel, reducing the risk of unauthorized access.

Running Webmin on a VPS Server

Whether you’re hosting websites, managing databases, or handling server administration tasks, using Webmin on a VPS server provides a convenient and secure way to manage your resources. With Webmin and Let’s Encrypt SSL, you can confidently manage your VPS with enhanced security.

Looking for Reliable VPS Hosting?

If you’re looking for a reliable VPS server to host Webmin and other applications, consider using WindowsVPS. With WindowsVPS, you get scalable, secure VPS hosting that allows you to manage your server with ease.

 

How to Install Webmin with free Let’s Encrypt SSL Certificate on Ubuntu 24.04

Webmin is a popular web-based control panel that allows you to manage your server through an easy-to-use interface. In this guide, we will walk through how to install Webmin on Ubuntu 24.04 and secure it with a free Let’s Encrypt SSL certificate. This setup is ideal for both local servers and VPS servers.

Step 1: Update Your System

Before installing Webmin, ensure that your Ubuntu 24.04 system is up to date. Open your terminal and run the following commands:

sudo apt update && sudo apt upgrade -y

Step 2: Install Webmin

To install Webmin, first, you need to add the Webmin repository. Start by adding the Webmin GPG key:

wget -qO - http://www.webmin.com/jcameron-key.asc | sudo apt-key add -

Next, add the Webmin repository by editing the sources list:

sudo nano /etc/apt/sources.list

Add the following line at the end of the file:

deb http://download.webmin.com/download/repository sarge contrib

Save the file, then update the package list and install Webmin:


sudo apt update
sudo apt install webmin -y
        

Step 3: Access Webmin

After Webmin is installed, you can access it via your web browser using your server’s IP address on port 10000. For example:

https://your-server-ip:10000

By default, Webmin uses a self-signed SSL certificate, which will prompt a browser warning. In the following steps, we will replace it with a free Let’s Encrypt SSL certificate.

Step 4: Install Let’s Encrypt Certbot

To install a free SSL certificate from Let’s Encrypt, we will use Certbot. Install Certbot using the following command:

sudo apt install certbot -y

Step 5: Configure SSL in Webmin

To configure Webmin to use Let’s Encrypt, follow these steps:

  1. Log in to your Webmin dashboard.
  2. Navigate to Webmin Configuration > SSL Encryption.
  3. Click on the Let’s Encrypt tab.
  4. Enter your domain name under “Hostname for certificate.” Ensure that your domain is pointed to the server.
  5. Select the path to your Webmin directory for the certificate to be installed. Typically, this will be /etc/webmin.
  6. Click the “Request Certificate” button to request and install the Let’s Encrypt SSL certificate.

Webmin will now be secured with an SSL certificate issued by Let’s Encrypt.

Step 6: Enable Auto-Renewal for Let’s Encrypt

To ensure that your Let’s Encrypt SSL certificate is automatically renewed, you need to configure Certbot to run as a cron job. Open the cron file with the following command:

sudo crontab -e

Add the following line to renew the certificate every day at midnight:

0 0 * * * /usr/bin/certbot renew --quiet

Save and exit the file. Certbot will now automatically renew your Let’s Encrypt SSL certificate.

Securing Webmin on a VPS

Using Webmin with a free Let’s Encrypt SSL certificate is a great way to secure your server management. If you’re managing a VPS server, this setup allows you to ensure secure access to your control panel, reducing the risk of unauthorized access.

Running Webmin on a VPS Server

Whether you’re hosting websites, managing databases, or handling server administration tasks, using Webmin on a VPS server provides a convenient and secure way to manage your resources. With Webmin and Let’s Encrypt SSL, you can confidently manage your VPS with enhanced security.

Looking for Reliable VPS Hosting?

If you’re looking for a reliable VPS server to host Webmin and other applications, consider using WindowsVPS. With WindowsVPS, you get scalable, secure VPS hosting that allows you to manage your server with ease.