SSL Errors and HTTPS in Webmin

When you install Webmin on CentOS or Ubuntu, the web-based system administration interface forces HTTPS (SSL) by default. This is great for security. However, if you don’t have an SSL certificate, you’ll see a self-signed certificate warning. You’ll want to fix this error sooner than later since Webmin has access to server data.

You can continue to work in HTTPS with the self-signed error. However, we recommend you install a free SSL certificate or purchase an SSL certificate for a secure connection.

Below we cover how to:

Develop your web applications with our scalable Cloud Servers.

Toggle HTTPS in Webmin Dashboard

  1. Log into your Webmin dashboard
  2. Select Webmin, then Webmin Configuration
  3. Select SSL Encryption
  4. Toggle Enable SSL?
  5. Save at the bottom
  6. Refresh Webmin
  7. Log back into Webmin
Edit Webmin SSL Settings

Toggle HTTPS in SSH

  1. Log into SSH
  2. Edit the Miniserv configuration file: nano +10 /etc/webmin/miniserv.conf
  3. Change ssl=1 to ssl=0 to disable HTTPS
  4. Save your changes
  5. Restart Webmin: /etc/init.d/webmin restart
  6. Restart Apache: service apache2 restart
  7. Log into your Webmin dashboard

Fix the SSL Certificate Error on cPanel Server

This section applies to users on a managed cPanel VPS / Dedicated server. cPanel server users can request a new free SSL depending on your AutoSSL settings in WebHost Manager (WHM).

  1. Log into Webmin
  2. On the left, select Webmin, then Webmin Configuration
  3. Select SSL Encryption
  4. Select the Let’s Encrypt tab
  5. Beside Website root directory for validation file, select Other directory: /var/www/html
  6. Select Request Certificate
  7. Select Return to Webmin configuration
  8. Restart Webmin
  9. On the lower-left, select the red exit icon to log out and close Webmin
  10. Open Webmin in a new window to use an active SSL connection

If you need help at any time, let us know in our Community Support Center. Or contact our Managed Hosting team for advanced technical support.

InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

2 thoughts on “SSL Errors and HTTPS in Webmin

    1. Hi MM, if you don’t mind, could you please describe the error you encountered in a bit more detail? Did the error occur while following the “Fix the SSL Certificate Error on cPanel Server” steps, or a different part of the guide?

Was this article helpful? Join the conversation!