< Back to Knowledge Base Home

Installing SSL Certificate on Webmin

Installing a paid SSL certificate in Webmin is a simple process that can be completed entirely through the web interface in just a few steps.

Prerequisites

Before beginning, ensure you have:

    • Your SSL certificate files (certificate, private key, and CA bundle)
    • Root or administrative access to Webmin
    • Webmin running on your server (typically port 10000)

Step-by-Step Installation

1. Access Webmin Panel Log into your Webmin interface at https://yourserver:10000 using your root or admin credentials.

2. Navigate to SSL Settings Go to “Webmin” → “Webmin Configuration” from the main menu. Look for “SSL Encryption” in the configuration options and click on it.

3. Enable SSL Mode If not already enabled, set “Enable SSL?” to “Yes” to activate SSL support for the Webmin interface.

4. Upload Certificate Files You’ll see several fields for SSL configuration:

    • Certificate file: Upload or paste your SSL certificate (*.crt file)
    • Private key file: Upload or paste your private key (*.key file)
    • Certificate authority file: Upload or paste your CA bundle/intermediate certificate

You can either upload the files directly or paste their contents into the text areas. Ensure you copy the complete content including BEGIN and END certificate lines.

5. Configure SSL Settings Set the appropriate SSL protocols and cipher settings. For modern security, disable older protocols like SSLv2 and SSLv3, keeping only TLS 1.2 and higher.

6. Apply Configuration Click “Save” to apply the SSL configuration. Webmin will validate the certificate files and restart the SSL service.

7. Restart Webmin After saving, restart Webmin either through the interface (“Refresh Modules” → “Restart Webmin”) or via command line to ensure all changes take effect.

8. Verify Installation Close your browser and reconnect to Webmin using https://yourserver:10000. You should see your valid SSL certificate without browser warnings.

Additional Configuration

For enhanced security, consider:

    • Forcing HTTPS-only connections
    • Updating the SSL certificate path in /etc/webmin/miniserv.conf if using file paths
    • Setting up automatic certificate renewal

Your Webmin panel now runs with a trusted SSL certificate, providing secure encrypted access to your server management interface.