+ Post New Thread
Results 1 to 13 of 13
Virtual Learning Platforms Thread, Moodle entirely over https - how to? in Technical; Hi, What is the easiest and most efficient method of forcing to run moodle entirely over SSL https? I've had ...
  1. #1

    Join Date
    Oct 2008
    Posts
    8
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Moodle entirely over https - how to?

    Hi,

    What is the easiest and most efficient method of forcing to run moodle entirely over SSL https? I've had a search around but haven't really got any definitive answers. Our LEA internet provider is forcing us to have it all over https otherwise they will not allow external access.

    Running Moodle on Ubunutu Server 8.04 with Apache2 etc...

    Thanks in advance

  2. #2
    rh91uk's Avatar
    Join Date
    Sep 2008
    Location
    UK
    Posts
    877
    Thank Post
    137
    Thanked 132 Times in 114 Posts
    Rep Power
    36
    Hi,

    Try Apache SSL/TLS Encryption - Apache HTTP Server to get you started on configing SSL.

    You'll need an SSL trusted sertificate. Can I suggest SSL Certificates SSL Wildcard SSL Free Certificates SSL Server Certificate 256 bits for a 2 yr free Educational trusted licence.

    You'll also need, obviously, your lea to open port 443 for SSL too!

    hope this helps.

  3. #3

    Join Date
    Oct 2008
    Posts
    8
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi thanks for your reply.

    So far I have it working in as much as I can get to moodle via https://moodle/moodle locally, however all the links/images in moodle are still http, and images etc. How can I change those without hardcoding http--->https?

    Thanks again

  4. #4

    Join Date
    Oct 2008
    Posts
    8
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Actually I have just solved it.

    In the config.php in the moodle folder I changed

    $CFG->wwwroot = 'http://moodle/moodle'; to $CFG->wwwroot = 'https://moodle/moodle';

    Sorted!

    Cheers

  5. Thanks to tom1985 from:

    Heggy (4th July 2011)

  6. #5
    rh91uk's Avatar
    Join Date
    Sep 2008
    Location
    UK
    Posts
    877
    Thank Post
    137
    Thanked 132 Times in 114 Posts
    Rep Power
    36
    Glad you got it sorted - we're moving to moodle so I have bookmarked this page just in case I get any problems doing the same thing lol.

  7. #6

    Join Date
    Apr 2006
    Location
    UK
    Posts
    939
    Thank Post
    39
    Thanked 70 Times in 54 Posts
    Rep Power
    29
    I'd always thought that I'd setup HTTPS purely for login purposes on Moodle, doesnt HTTPS cause things to slow down a little?

    I could be wrong....

  8. #7

    Join Date
    Oct 2008
    Posts
    8
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Can't say I've noticed much difference to be honest. If you've got a decent server it should cope.

  9. #8

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    639
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324
    Having all traffic subject to HTTPS means that the server has to do an awful lot of calculations for every single request - every page, every CSS file, and every image - for every visitor.

    The effect this will have will depend on traffic levels and the server specification.

  10. #9

    Join Date
    Apr 2006
    Location
    UK
    Posts
    939
    Thank Post
    39
    Thanked 70 Times in 54 Posts
    Rep Power
    29
    Am i also right in thinking it cant cache HTTPS?

  11. #10

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Indeed, HTTPS will not be cached.

  12. #11
    tonyd's Avatar
    Join Date
    Mar 2006
    Location
    Kent (Sometimes), UK
    Posts
    163
    Thank Post
    17
    Thanked 42 Times in 31 Posts
    Rep Power
    25
    Hi all,

    Has anyone else encountered problems with some SCORM content running over a HTTPS connection? Moodle has been running fine here over an fully SSL connection for a while, but we've just tried to install some SCORM course content from Peasons Digital, and it does not run. Pearsons support have simply stated that it is not compatile with HTTPS but without any explanation. We would like to get this working, but would also like to keep using HTTPS... Can anybody help me with this?

    Thanks in advance,
    Tony

  13. #12

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    I would suspect that the SCORM content has embedded url referals that are http only. If you have something running on port 80 on the machine (hopefully the webserver, although netcat would be fine I suppose) check what its getting asked for. If this is the case you can fudge the issue with some url rewrite rules.

  14. #13
    soapyfish's Avatar
    Join Date
    Dec 2008
    Location
    Hertfordshire
    Posts
    180
    Thank Post
    49
    Thanked 7 Times in 5 Posts
    Blog Entries
    1
    Rep Power
    13
    I have the same problem with Scorm packages being linked directly to HTTP. I have managed to work around this issue by trying to access the package using Googles chrome browser. When you open the link in Chrome it gives you the true URL to the Scorm package. I have then made a new shortcut/link which contains the corrected URL.
    The corrected URL starting with HTTPS not HTTP. This has worked for some Scorm packages.

    The issue I am having is that some of my packages supplied by AQA have a menu on the right hand side of the (like the old windows explorer view) and each linked document inside that directory tree has its own embedded URL which is HTTP but I cannot find away to create sensible links to this content as there are literally 1000's of different URL's....

    If anyone has had any success working around this issue I would be very greatful to hear from you.

    Scorm.png

SHARE:
+ Post New Thread

Similar Threads

  1. http or Https moodle?
    By undercover in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 12th June 2009, 11:04 AM
  2. Making Moodle HTTPS -WAMP
    By TheFopp in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 23rd March 2009, 05:11 PM
  3. Problems logging in with HTTPS - moodle
    By timbo343 in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 12th February 2008, 09:59 AM
  4. Moodle and HTTPS
    By timbo343 in forum Virtual Learning Platforms
    Replies: 12
    Last Post: 24th January 2008, 04:07 PM
  5. 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

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
  •