How to Install an SSL Certificate on Webmin?

1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (1 votes, average: 5.00 out of 5, rated)
Install SSL Certificate on Webmin Server

Eager to secure your Webmin server with SSL? If “YES,” then dive into our straightforward guide to install an SSL Certificate on Webmin. Forget the tech jargon and complex processes – we keep it simple and efficient.

Our installation guide is designed for all, from technologically challenged (tech newbies) to seasoned professionals. Just a handful of steps and you’ll be on your way to a – more secure web experience. So, why wait? Let’s begin!


Before moving with the installation steps, make sure that you have an SSL cert issued by a trusted Certificate Authority (a.k.a, CA) for the domain that you wish to – shield. To install an SSL cert on any server, you first need to – have an SSL certificate!

Once you have an SSL Cert, create a CSR and submit it to a Certificate Authority. If you are unaware of the process, just follow our other guide on “How to Create a CSR for Webmin Server?”. You will be able to create a CSR successfully.

Note: A CSR is an encoded block of text that comprises essential information about your company and domain. SSL certificate providers (Certificate Authority), like – Comodo, Certera, Sectigo, etc., use the CSR to verify the identity of the applicants. If the data within the CSR is up to date and correct and up to date, the Certificate Authority issues the SSL Certificate.

How To Install an SSL Certificate on Webmin Server?

Once the Certificate Authority has signed and sent the SSL cert, you can proceed with the installation on your – Webmin server. Follow the steps mentioned below to accomplish the same:

Step 1: Download and Unzip SSL Files

The first step is to download and unzip the SSL certificate sent by the CA on the registered email ID in the form of a zip folder, after successful verification. Make sure you have these files:

  • .crt file – (Primary certificate)
  • .ca-bundle – (root + intermediate certificates)

Step 2: Upload the Files

The next step is to upload the necessary files to the – Webmin server. Follow the steps mentioned below to accomplish the same:

  • Enter your credentials to login into the Webmin server.
  • In the left pane, select the Others option.
  • From the list, select the Upload and Download option.
  • On the page, click on the Upload to server tab.
  • In the Files to upload section, locate and add the .crt file and .ca-bundle file.

Step 3: Configure Apache using Webmin

Follow the steps mentioned below to configure Apache:

  • Open Webmin and navigate to the Un-used Modules in the left menu. Install Apache if it’s not already set up.
  • Navigate to  Servers > Apache Web Servers.
  • On the main page, click the Global Configuration tab.
  • The Global Configuration tab will open.
  • In the Global Configuration tab, find and click the Configure Apache Modules icon.
  • A list of Apache modules will appear.
  • Locate the ssl module (checkbox), check its box, and click the Enable Selected Modules button.
  • Wait for the Apache Web Server’s main page to reload.
  • Once ready, choose Create virtual host and enter these details:
    • Port: Use port 443, the standard for HTTPS.
    • Document Root: Provide the path to your website’s root folder.
    • Server Name: Enter your domain name.
  • Click the Create Now button to establish your new virtual host.
  • In the Existing virtual hosts tab, find the host you just created.
  • Click the globe icon placed adjacent to it.
  • The Virtual Server Options page will open.
  • On the Virtual Server Options page, select SSL Options and adjust the settings as follows:
    • Enable SSL: Select YES.
    • SSL protocols: Uncheck outdated SSLv2 and SSLv3 protocols.
    • Certificate/private key file: Input the server paths for your primary certificate (.crt) and private key (.key, created with your CSR).
    • Certificate authorities file: Enter the server path for your bundle file.

Step 4: Restart Apache

Now, all that’s left is to restart – Apache. Doing so successfully completes the SSL certificate installation process. Follow the steps mentioned below to accomplish the same:

  • In the left pane, click System.
  • From the list, click the Boot and Shutdown option.
  • Check the checkbox placed adjacent to the Apache checkbox.
  • Move (scroll) to the end of the page.
  • Click Restart.

Congratulations! You have successfully added and installed an SSL certificate on your Webmin server.

Test the SSL Installation

SSL connection errors can stem because of “n” number of reasons or factors, including browser complications and server issues. To thoroughly evaluate and correct these issues, it is highly recommended to utilize testing tools such as SSL Checker.

<?xml version="1.0" encoding="UTF-8"?><svg id="Layer_1" xmlns="" viewBox="0 0 109.7 29.02"><defs><style>.cls-1{fill:#fff;}</style></defs><path class="cls-1" d="m5.38,22.85c-3.1-.26-5.3-1.92-5.38-4.8h3.6c.1,1.1.67,1.85,1.78,2.09v-4.58c-2.47-.62-5.38-1.32-5.38-4.87,0-2.83,2.26-4.68,5.38-4.92v-1.94h1.54v1.94c3,.24,5.02,1.85,5.23,4.7h-3.62c-.1-.94-.67-1.66-1.61-1.94v4.54c2.5.65,5.42,1.3,5.42,4.85,0,2.45-1.92,4.73-5.42,4.97v1.94h-1.54v-1.97Zm0-10.25v-4.15c-1.1.17-1.87.84-1.87,2.06,0,1.13.77,1.7,1.87,2.09Zm1.54,3.38v4.2c1.22-.22,1.94-1.06,1.94-2.14s-.82-1.68-1.94-2.06Z"/><path class="cls-1" d="m17.62,8.33h-2.33v-3.1h5.78v17.5h-3.46v-14.4Z"/><path class="cls-1" d="m28.27,17.81c.26,1.39,1.15,2.18,2.71,2.18,1.97,0,2.83-1.46,2.83-5.4-.74,1.03-2.16,1.63-3.7,1.63-3.02,0-5.45-1.9-5.45-5.59,0-3.5,2.21-5.81,5.91-5.81,4.75,0,6.22,3.22,6.22,8.76,0,5.95-1.32,9.17-5.95,9.17-3.72,0-5.5-2.38-5.69-4.94h3.12Zm5.23-7.15c0-1.92-1.1-2.98-2.81-2.98s-2.81,1.18-2.81,2.93c0,1.58.89,2.88,2.93,2.88,1.68,0,2.69-1.13,2.69-2.83Z"/><path class="cls-1" d="m41.28,22.9c-1.22,0-2.09-.86-2.09-1.97s.86-1.97,2.09-1.97,2.04.86,2.04,1.97-.86,1.97-2.04,1.97Z"/><path class="cls-1" d="m49.54,17.81c.26,1.39,1.15,2.18,2.71,2.18,1.97,0,2.83-1.46,2.83-5.4-.74,1.03-2.16,1.63-3.7,1.63-3.02,0-5.45-1.9-5.45-5.59,0-3.5,2.21-5.81,5.91-5.81,4.75,0,6.22,3.22,6.22,8.76,0,5.95-1.32,9.17-5.95,9.17-3.72,0-5.5-2.38-5.69-4.94h3.12Zm5.23-7.15c0-1.92-1.1-2.98-2.81-2.98s-2.81,1.18-2.81,2.93c0,1.58.89,2.88,2.93,2.88,1.68,0,2.69-1.13,2.69-2.83Z"/><path class="cls-1" d="m64.56,17.81c.26,1.39,1.15,2.18,2.71,2.18,1.97,0,2.83-1.46,2.83-5.4-.74,1.03-2.16,1.63-3.7,1.63-3.02,0-5.45-1.9-5.45-5.59,0-3.5,2.21-5.81,5.9-5.81,4.75,0,6.22,3.22,6.22,8.76,0,5.95-1.32,9.17-5.95,9.17-3.72,0-5.5-2.38-5.69-4.94h3.12Zm5.23-7.15c0-1.92-1.1-2.98-2.81-2.98s-2.81,1.18-2.81,2.93c0,1.58.89,2.88,2.93,2.88,1.68,0,2.69-1.13,2.69-2.83Z"/><path class="cls-1" d="m81.79,0h3.29l-6.48,27.07h-3.29L81.79,0Z"/><path class="cls-1" d="m96.89,9.43h3.58l-8.23,19.59h-3.58l2.88-6.62-5.33-12.96h3.77l3.43,9.29,3.48-9.29Z"/><path class="cls-1" d="m105.62,22.73h-3.36v-13.3h3.36v2.06c.84-1.37,2.23-2.26,4.08-2.26v3.53h-.89c-1.99,0-3.19.77-3.19,3.34v6.62Z"/></svg>