Virtual Learning Platforms Thread, Moodle and HTTPS in Technical; Does anyone know how to set moodle up using HTTPS at login?
Ive got multiple moodle servers on laptops running ...
-
24th January 2008, 12:52 PM #1 Moodle and HTTPS
Does anyone know how to set moodle up using HTTPS at login?
Ive got multiple moodle servers on laptops running as tests. There is no where on the net on how to configure moodle with HTTPS.
Im using a WAMP server the LDAPS logins. This is working fine.
It woud be great if someone could PM me to talk me through it.
Thanks
Tim
Last edited by timbo343; 24th January 2008 at 01:00 PM.
-
-
IDG Tech News
-
24th January 2008, 01:35 PM #2 Here's the SSL configuration section of the apache virtual server that runs moodle here :
Code:
NameVirtualHost 10.73.24.9:443
<VirtualHost 10.73.24.9:443>
ServerName vle.carrhill.lancs.sch.uk
DocumentRoot /var/www/vle.carrhill.lancs.sch.uk/htdocs
ErrorLog /var/log/apache2/vle.carrhill.lancs.sch.uk-error.log
CustomLog /var/log/apache2/vle.carrhill.lancs.sch.uk-access.log common
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/vle.carrhill.lancs.sch.uk._20071112_125751.crt
SSLCertificateKeyFile /etc/apache2/ssl/vle.carrhill.lancs.sch.uk.key
SSLCACertificateFile /etc/apache2/ssl/IPS-IPSCABUNDLE.crt
<IfModule mod_log_config.c>
CustomLog /var/log/apache2/ssl_request.log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>
</VirtualHost> Thus, once your web server is correctly configured to service HTTPS connections you just need to enable HTTPS in moodle. The setting is in Security -> HTTP Security.
-
Thanks to Geoff from:
webman (24th January 2008)
-
24th January 2008, 01:54 PM #3 Thanks, but in which document is that?? And also do you have to use virtual servers??
Sorry for been a bit thick... just that im new to the whole moodle thing..
-
-
24th January 2008, 02:01 PM #4 If your using xampp as your WAMP stack you might already have https enabled in apache. Navigate to https://127.0.0.1 to see (although you will almost certainly get a certificate error).
If you google setting up https in apache and get that set up correctly and then you can just enable it in moodle as Geoff said above.
The file Geoff copied is a apache config file probably from httpd.conf but if you just paste it in that won't work as you don't have the certificates, etc in place.
Last edited by Jona; 24th January 2008 at 03:07 PM.
-
-
24th January 2008, 02:29 PM #5 I have tried browsing to http://127.0.0.1 and i get the moodle home page without any errors
Ill try the and google what you suggested and see how far i get.
-
-
24th January 2008, 02:37 PM #6
If your using xampp as your WAMP stack you might already have https enabled in apache. Navigate to
http://127.0.0.1 to see (although you will almost certainly get a certificate error).
Should that be https://127.0.0.1?
-
-
24th January 2008, 03:07 PM #7 Yeh it should be... my bad I blame having too many windows open....
(Original post edited)
Cheers
Jona
-
-
24th January 2008, 03:13 PM #8 when i browse to https://127.0.0.1 all i get is The page cannot be displayed. I take it then i havent got https installed?
-
-
24th January 2008, 03:15 PM #9 I would seem not, are you using a WAMP stack package or have you manually installed apache, etc ?
Cheers
Jona
-
-
24th January 2008, 03:19 PM #10
Thanks, but in which document is that??
Here on my ubuntu web server it's /etc/apache2/sites-avaliable/01_vle.carrhill.lancs.sch.uk.conf
And also do you have to use virtual servers??
Nope.
-
-
24th January 2008, 03:48 PM #11 
Originally Posted by
Jona
I would seem not, are you using a WAMP stack package or have you manually installed apache, etc ?
Cheers
Jona
Im using WAMP5 which i installed and was pre configured...
Ive just followed steps from this site...
http://www.thompsonbd.com/tutorials/apachessl.php
but still no luck with https
-
-
24th January 2008, 04:15 PM #12 That tutorial if it works will create a SSL connection here:
www.my-domain.com:443
I assume you've checked that and it dosn't work??
If you've added (or uncommented) the load module line and SSL isn't working (as in the modules failing you will probably get an error in your logs (apache/logs/error.log).
Double check you did all the lines marked in yellow on that tutorial including adding a documentroot.
You might also be having a config file issue is WAMP maintains more than one config file.....
-
-
24th January 2008, 05:07 PM #13 I tried the http://....:443 doesnt work.
I did the document root too...
-
SHARE:
Similar Threads
-
By Scotmk in forum Windows
Replies: 21
Last Post: 20th October 2008, 05:43 PM
-
By maniac in forum Web Development
Replies: 7
Last Post: 6th January 2008, 08:17 PM
-
By Spongor in forum Windows
Replies: 7
Last Post: 2nd November 2006, 10:25 AM
-
By GrumbleDook in forum Windows
Replies: 2
Last Post: 3rd September 2006, 09:37 PM
-
By p.simmons in forum Web Development
Replies: 9
Last Post: 8th March 2006, 03:35 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules