From: Jamie C. <jca...@we...> - 2005-07-16 10:32:09
|
I just checked my code again, and found that there is a bug in the tunnel module - it basically ignores the https:// , and always uses a non-SSL connection! I'll fix this in a future release .. - Jamie On Sat, 2005-07-16 at 20:13, Matt Lowe wrote: > Jamie, > Yes the site im trying to tunnel to IS https, from behind my firewall i access the site using https://192.168.0.253:81 (the same machine as webmin is running on), but i dont want to open up more ports through the firewall from outside than necisarry :( > > I also tried tunneling to http://localhost:81 thinking posible that 2 https requests canceled each other out, but got the same error back. > > Even if i try tunneling to usermin by using https://localhost:20000 i get asked for username/password because webmin says the site requires authentication, and then get : > > > > Error - Bad Request > > This web server is running in SSL mode. Try the URL > https://localhost.localdomain:20000/ > <https://192.168.1.254:10000/tunnel/link.cgi/https://localhost.localdomain:20000/> > instead. > > the url in the address bar, when i get this error is : https://192.168.1.254:10000/tunnel/link.cgi/https://localhost:20000 > > this is the same result on several differant installs in differant networks. > > I also tried tunneling to : https://192.168.1.254:20000 (incase of posible problems using localhost in the address) and got the same result :( > > can anyone else dublicate this? (easiest way to try is to connect to usermin on https://localhost:20000) > > Thanks again for any help or pointers > > (P.S. this has been tried on several machines hence the changes in ip between 192.168.0.253 and 192.168.1.254!!!) > > Matt Lowe > webmin <at> marlowesoft.co.uk > > > Subject: Re: [webmin-l] problem with http tunnel module {Scanned} > From: Jamie Cameron <jca...@we...> > To: web...@li... > Organization: > Date: 15 Jul 2005 09:44:01 +1000 > Reply-To: web...@li... > > On Fri, 2005-07-15 at 08:32, Matt Lowe wrote: > > >> Hi, > >> Can anyone tell me where im going wrong with this (or even if what im > >> tring to do is posible!!) > >> > >> Im using webmin 1.210, and am tring to create a tunnel to another > >> webserver running on that machine > >> e.g. access webmin on https://server.com:10000 goto others/HTTP tunnel > >> and asking it to connect to https://localhost:81 (thats localhost as in > >> server.com) what i get back is the following : > >> > >> > >> Bad Request > >> > >> Your browser sent a request that this server could not understand. > >> > >> Reason: You're speaking plain HTTP to an SSL-enabled server port. > >> Instead use the HTTPS scheme to access this URL, please. > >> > >> Hint: *https://localhost:81/* > >> <https://192.168.0.253:10000/tunnel/link.cgi/https://localhost:81/> > >> > >> > >> > >> > >> from what i understood of the http tunnel module what should have > >> happened is, i should have got the webpage https://localhost:81 placed > >> within my webmin page as if i had been sitting at the server and run w3m > >> https://lcoalhost:81 > >> > >> anyone tell me if this is a bug, or if what im trying to do is wrong for > >> this module? > > > > > > Are you sure you should be using https:// in that URL? Unless the > webserver on port 81 is using SSL mode, you should use http:// in the > tunnel destination URL. > > - Jamie > > > > > > |