SSL Errors and HTTPS in Webmin Updated on August 16, 2021 by InMotion Hosting Contributor 1 Minutes, 28 Seconds to Read 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: Toggle HTTPS in Webmin dashboardToggle HTTPS in SSHFix SSL Errors on Managed Servers Develop your web applications with our scalable Cloud Servers. Toggle HTTPS in Webmin Dashboard Log into your Webmin dashboardSelect Webmin, then Webmin ConfigurationSelect SSL EncryptionToggle Enable SSL?Save at the bottomRefresh WebminLog back into Webmin Toggle HTTPS in SSH Log into SSHEdit the Miniserv configuration file: nano +10 /etc/webmin/miniserv.confChange ssl=1 to ssl=0 to disable HTTPSSave your changesRestart Webmin: /etc/init.d/webmin restartRestart Apache: service apache2 restartLog 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). Log into WebminOn the left, select Webmin, then Webmin ConfigurationSelect SSL EncryptionSelect the Let’s Encrypt tabBeside Website root directory for validation file, select Other directory: /var/www/htmlSelect Request CertificateSelect Return to Webmin configurationRestart WebminOn the lower-left, select the red exit icon to log out and close WebminOpen 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. Share this Article 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 Related Articles How to Change Your Server SSH Port cPanel vs Other Web Hosting Control Panels How To Manage SSH Keys for Your Server Install Webmin on Ubuntu 20.04 How to Re-OS Your Cloud Server in AMP Choosing Vesta Control Panel How to Log into Webmin and Update Passwords Adding a User and Domain to Vesta Control Panel How to Add a BIMI Record on Cloud Server Hosting How to Install PHP on a Linux Cloud Server
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?