Webmin On TCP port 443...but with Apache Mod_ssl installed...
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Webmin On TCP port 443...but with Apache Mod_ssl installed...
Hi,
For reasons that I won't go into, I need to configure Webmin to listen on port 443 instead of 10000. This I believe is easy enough to do, actually through Webmin itself. However, on the same machine which is running Webmin, I have Apache installed with mod_ssl. So, I guess Apache is already listening for connections on port 443.
As such, if I change the webmin port to 443, am I right in thinking that neither Webmin nor HTTPS requests to Apache will work?
Rather than say for example getting Webmin to listen on port 443 and disable SSL on Apache, is there a way which I can get Apache to proxy connections to Webmin?
The problem I have is that I'm trying to connect to Webmin from behind a proxy which will ONLY allow HTTPS connections to port 443, and I don't have the ability to change this proxy at all.
You won't be able to proxy https connections anyway, the SSL security setup won't permit it.
You can't create an end to end SSL connection if there is "a man-in-the-middle".
The proxy will merely be checking acl lists on the destination address/url...
I have seen port 563 in the SSL_ports definition, maybe try that...
It seems that the initial proxy I'm going through will ONLY allow HTTPS connections to the destination port 0f 443. So, am I able to change the webmin config to listen on this port? Or is this going to completely screw up Apache? What would I need to do to apache to stop it from listening on TCP 443?
To stop apache from using 443, rename file /etc/httpd/conf.d/SSL.conf to SSL.confxx
or something. (Apache loads anything in this directory with a .conf extention)
Or you could edit the SSL.conf file, and change the port Apache uses for https.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.