Pound - Error Bad Request

4 posts / 0 new
Last post
#1 Tue, 05/27/2008 - 11:32
fatbear

Pound - Error Bad Request

I have Pound (www.apsis.ch/pound) installed on my server to handle all SSL authentication, load balancing, and reverse proxying. Virtualmin is reporting the error:

Error - Bad Request This web server is running in SSL mode. Try the URL https://my.domain.com:10000/ instead.

I find the string above in miniserv.pl (in /usr/libexec/usermin and /usr/libexec/webmin).

My Pound configuration is such that when it sees https://my.domain.com, it SSL authenticates it and sends it to https://www.domain.com:10000.

The problem, it seems, is that the Virtualmin scripts don't take into consideration that SSL authentication can be done by some agent other than Apache. So, how do I turn off the Webmin/Virtualmin SSL check that is going on and causing problems?

Post edited by: fatbear, at: 2008/05/27 11:33

Post edited by: fatbear, at: 2008/05/27 11:33<br><br>Post edited by: fatbear, at: 2008/05/27 11:35

Tue, 05/27/2008 - 16:36
Joe
Joe's picture

If you don't want Webmin to SSL-encrypt its traffic, then you'll need to turn off SSL in Webmin. Browse to Webmin:Webmin:Webmin Configuration and click on &quot;SSL Encryption&quot;.

If you're trying to accomplish something else...you might read up on using Webmin proxied behind Apache:

http://doxfer.com/Webmin/UnderApache#Webmin_Proxied_Through_Apache

Obviously, you wouldn't be able to get much from the Apache configuration details, but it might be useful to understand how Webmin can be configured to behave under a proxy--since Pound is just a web proxy.

--

Check out the forum guidelines!

Wed, 05/28/2008 - 07:38 (Reply to #2)
fatbear

Interesting... I note that when I do the mapping for port 20000, I still get the same:

Error - Bad Request
This website is running in SSL mode. Try the URL https://my.domain.com:20000/ instead.

The port 10000 item is working just fine. Any idea as to whether there is yet another SSL item that needs to be configured/turned off?

Thanks!

Wed, 05/28/2008 - 06:34
fatbear

Thanks, Joe. Turning off SSL in webmin was exactly what I wanted to do. Pound is not only serving as a reverse proxy, but it is also serving as a load balancer. Also, on some of our systems, we're using an F5 load balancer that also takes care of SSL authentication. So, turning off SSL for Apache, Tomcat, etc., was what we needed to do.

Also note that ports 10000 and 20000 are blocked in our corporate environment. So, I was not even able to access Virtualmin's admin interface in that environment. So, whether a person uses Apache via Pound, F5, or mod_proxy/Apache, it is quite useful to allow traffic to be handled by port 443 as managed by the proxy of choice.

Thanks, again, for your help... just what I needed!

Topic locked