LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Webmin On TCP port 443...but with Apache Mod_ssl installed... (https://www.linuxquestions.org/questions/linux-networking-3/webmin-on-tcp-port-443-but-with-apache-mod_ssl-installed-138684/)

ech310n 01-26-2004 12:56 AM

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.

Regards - ech

peter_robb 01-26-2004 07:21 AM

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...

ech310n 01-26-2004 02:53 PM

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?

CaptainInsane 01-26-2004 03:34 PM

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.....

david_ross 01-26-2004 04:21 PM

If you still need to use apache on 443 then maybe you could run webmin under apache.

ech310n 01-26-2004 06:37 PM

ooh! That sounds interesing....how would I run webmin under apache? do you have any tutorial links etc?

thanks David_Ross!!!

david_ross 01-27-2004 04:10 PM

I've never done it but it is documented:
http://www.webmin.com/apache.html


All times are GMT -5. The time now is 04:55 AM.