+ Post New Thread
Results 1 to 11 of 11
Virtual Learning Platforms Thread, Problems logging in with HTTPS - moodle in Technical; I have set up moodle 1.8.4+ on a server, put it in our DMZ and to find that the HTTPS ...
  1. #1
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,035
    Thank Post
    305
    Thanked 293 Times in 203 Posts
    Rep Power
    120

    Problems logging in with HTTPS - moodle

    I have set up moodle 1.8.4+ on a server, put it in our DMZ and to find that the HTTPS logons dont work, even though they work fine on the internal network. Browsing to the home page isnt a problem, as that part of the site is in http but as soon as you click on the login button the site changes to https and the page will not load. Have I correctly installed the certificates, as like i said, the login works ok on the internal network?

    Any ideas?

    Tim

  2. #2
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    470
    Thank Post
    14
    Thanked 50 Times in 48 Posts
    Rep Power
    23
    two idea, we havn't tried to implement https yet so don't know too much:

    1) Have you opened the appropriate ports (usually 443 as well as 80) and also re-bound the apache/IIS if your using a new IP?

    2) Is your certificate bound to an internal address rather than your DMZ or external address. If your using a perticularly paranoid browser this could be breaking with out telling you....

    Cheers
    Jona

  3. #3
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,035
    Thank Post
    305
    Thanked 293 Times in 203 Posts
    Rep Power
    120
    1. I think these ports should be open anyway. But i have heard that if you are running apache and IIS together then there can be problems but i dunno how to fix that..

    2. How do you check to see if the certificates are bound for an internal address?

    PS... im pretty new to this kinda thing.

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Is the server running IIS or apache?

  5. #5
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,035
    Thank Post
    305
    Thanked 293 Times in 203 Posts
    Rep Power
    120
    Apache is the webserver but you also need to run IIS and certificate services for the LDAPS and HTTPS to run.

  6. #6
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    470
    Thank Post
    14
    Thanked 50 Times in 48 Posts
    Rep Power
    23
    That dosn't sound quite right. You should be able to use mod_ssl to run your secure stuff. Whats your rational for using IIS on the same machine, or this something in the windows world I don't know about?

    I know we definatly have tested moodle using SSL without IIS installed, I don't know about LDAPS though....

    Cheers
    Jona

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    I agree, there is no need to use IIS for HTTPS.

  8. #8
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    42
    Agree, dont need IIS just for that.. in fact our webserver runs apache/moodle without the need of IIS. Having said that i dont think the problem is related to the way Apache/IIS setup as it works internally right? I would be inclined to think its another issue such as certificate issue or routing. What is the domain the certificate is bound to?

  9. #9
    Jona's Avatar
    Join Date
    May 2007
    Location
    Cranleigh
    Posts
    470
    Thank Post
    14
    Thanked 50 Times in 48 Posts
    Rep Power
    23
    What Apeo said is possible, however I'd be inclined to disable one of your webservers first, otherwise they could be fighting on ports or for file locks, or all kinds of nasty stuff. Apache & IIS don't share the same internal processes because they are completly different services (analgious to Word vs. OpenOffice).

    If your going to use apache you need to make sure you have mod_ssl, etc installed.

    Lots of how-to's on google, if your using a pre-packaged WAMP stack it might be as easy as uncommenting it in httpd.conf
    http://docs.moodle.org/en/Apache#SSL
    http://www.neilstuff.com/apache/apache2-ssl-windows.htm
    http://tud.at/programm/apache-ssl-win32-howto.php3

  10. #10

    Join Date
    Feb 2008
    Location
    UK
    Posts
    44
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Use either IIS or Apache, it doesn't really matter as PHP, Moodle, MySQL and SSL support either web server.

    LDAPS will require OpenLDAP or the PHP LDAP extension to be installed on the machine and loaded on the machine - depending on the web server. LDAPS can be a pain to setup sometimes, but it doesn't sound like your problem.

    Is error logging and reporting turned on? If not, try turning it on and seeing what the error is - if any. As others have said it may be a browser issue; or could just be something else entirely.

    Best Regards,

  11. #11
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,035
    Thank Post
    305
    Thanked 293 Times in 203 Posts
    Rep Power
    120
    cheers. Ill give all those a go

    Thanks

SHARE:
+ Post New Thread

Similar Threads

  1. Moodle and HTTPS
    By timbo343 in forum Virtual Learning Platforms
    Replies: 12
    Last Post: 24th January 2008, 04:07 PM
  2. Moodle Problems - Can i have a bit of help please
    By timbo343 in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 20th June 2007, 03:28 PM
  3. Getting Moodle to logon using a different https port
    By p.simmons in forum Web Development
    Replies: 9
    Last Post: 8th March 2006, 02:35 PM
  4. Moodle Problems
    By Mintsoft in forum Web Development
    Replies: 9
    Last Post: 7th March 2006, 12:10 PM
  5. Intermitent problems with logging on
    By alexknight in forum Wireless Networks
    Replies: 27
    Last Post: 22nd August 2005, 04:01 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •