Menu

#3320 Windows Mobil 6 cant use SSL

1.450
open
5
2009-03-06
2009-03-06
Anonymous
No

When accessing the site via my windows mobil 6 phone if SSL is on I get the header and a blank page. It works fine if SSL is off.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2009-03-06

    I have no idea why that could happen, sorry .. however, both the iPhone and Android browsers can connect to Webmin in SSL mode just fine. And so can every othre browser that I know of.

     
  • David Jones

    David Jones - 2009-03-10

    I am not the only one with this issue. there was a forum post about it.

    I copied the page source of what is supposed to be displayed to another site using the same SSL wild card cert. and it worked fine. with out a way to see the source in Windows Mobile I don't know if it's all being transfer by Webmin.

    -David

     
  • Jamie Cameron

    Jamie Cameron - 2009-03-11

    I wonder if this is really an SSL cert issue. Can Windows Mobile access a site using a self-signed or wildcard cert, such as one setup by Virtualmin when you enable SSL for a domain?

     
  • Nobody/Anonymous

    I don't have Virtualmin. I did use the /usr/libexec/webmin/minserv.pem certificate and got the same result

    After upgrading to 1.460 I now don't even get the header text. perhaps if we can figure out why that now disappeared we can see why that one page has issues

    If I use the direct URL to any of the modules they all work fine. It's just the main page that has this issue.

     
  • Jamie Cameron

    Jamie Cameron - 2009-03-14

    /usr/libexec/webmin/minserv.pem is also a self-signed cert, so you may run into the same issue.

    Do you see the same problem with any other browsers, particularly those for mobile devices like the iPhone or gPhone, or Nokia's browser?

     
  • Nobody/Anonymous

    took me a while to track down some one with an iPhone. It works fine from the iPhone and I noticed they get a different iPhone like theme than the WM6.
    is there other browsers that share the WM6 theme?

     
  • Nobody/Anonymous

    I decided to go track down the source. I don't know why this is the case but here is what I found.

    If I modified /usr/libexec/webmin/virtual-server-mobile/theme.pl

    and commended out the section for printing the <head> (starting line 843 in sub theme_header ) and replaced it with print "<head></head>\n";

    everything works on Mobile 6.

    It truly is an ugly hack but it seems to be working.

    -David

     
  • Nobody/Anonymous

    On a side note I ended up using my wild card certificate, windows mobile 6.0 did not have the CA for "Equifax Secure Global eBusiness CA-1", so I had to add that to the Root CA store on the phone. This however did not effect the issue. but it did get rid of the certificate error.

    -David

     
  • Jamie Cameron

    Jamie Cameron - 2009-03-17

    Wow, thanks for tracking that down. But I don't see what was wrong with the original HTML though?

     
  • Nobody/Anonymous

    I don't either.. I discovered that was the issue when I put print "TEST"; in right above the print "</head>\n" on line 859 and the page suddenly appeared. as the <head> section was empty anyway, perhaps one of the other functions is inserting a non printable char when called using SSL that is killing IE on Mobile 6 but other browsers just ignore.

    -David

     
  • Jamie Cameron

    Jamie Cameron - 2009-03-18

    What if you just added the line :

    print "\n";

    before :

    print "</head>\n";

     

Log in to post a comment.

Auth0 Logo