Few months ago (Too long, these things happened during my initial days of work), I had faced this error while connecting to Webmin just after completing the installation. I had searched a lot and finally found one solution for this.
Here I’m sharing this information for one who are facing this SSL problem with Webmin.
Webmin is one of the most commonly using Web Hosting control panels. This is an open source control panel which works on port 10000. Miniserv is the name of the web server application which handles the Webmin Web application. By default, Miniserv uses SSL for HTTP connections. This default setting cause some warning on the browser while accessing Webmin panel.
Error details
Error - Bad Request This web server is running in SSL mode.
Solution
Login to your Webmin control panel and turn off the SSL, it will solve the SSL issue.
Step 1 : Login to Webmin control panel with SSL (https)
https://IP.ADDRESS:10000
Click this URL for port details “Webmin ports”
Step 2 : Click on SSL Encryption under Webmin Configuration.
Refer the image below for more details:
Step 3 : Select the “NO” option and save for “Enable SSL if available?”
Refer this image:
That’s it. Then try to login to your Webmin control panel normally. It will works fine now!!
This post was published on June 2016, please read the below section to keep the SSL turned ON.
Works fine? No!!
Nope actually. We’re disabling security features for accessing Webmin panel. If we need SSL over the communication, we need proper SSL certificates in the server. As I mentioned, this is a very old post and I just updated this because of few comments.
If we need SSL; please refer the following documentations:
- http://www.webmin.com/ssl.html
- https://www.thesslstore.com/knowledgebase/ssl-install/how-to-install-ssl-on-webmin/
Click here to see how does it possible via command line, How to disable SSL on Webmin
Webmin related documents:
1, How to Install Webmin on Ubuntu 10.04 painlessly
2, webmin installation on centos
3, Change SSH port of a server having Webmin
4, How to create Email Account in Webmin.
5, What port webmin use and how configure your firewall for Webmin?
6, How to disable SSL on Webmin
7, How to install SSL certificate on webmin
If you are interested in new technologies please read about how Prometheus helps on monitoring. All these docs are under this category, Prometheus. Stay tuned! Please do follow the LinkedIn page. I will update and we can continue discussion there!
Faced the same issue today, and the steps above helped a lot.. thanks a lot man 🙂
You are most welcome and thank you for this feedback.
greatful. thx Bro!!
Thanks Bro!!
Pls explain step 1 further.
thank you
FYI, for example if you are not able to login onto webmin panel. Then you can change these by command line by using below steps :
> Login to Server via SSH
> # cd /etc/webmin
> # vi miniserv.conf
> find ssl=1 and change it to ssl=0 and save this file
> #/etc/init.d/webmin restart
http://SERVER IP ADDRESS:10000/
Hope this would be helpfull to you. 🙂
Great!
That’s not a solution!! you’re turning off security!
How can you log in with SSL on, that’s what’s needed!
Updated the post. You can try that! Thanks
that’s not a solution, you’re turning off a security needed functionality
Yes, added few docs link for enabling SSL.
Please try that.