Implementing SSL (https)

Implementing SSL (https)

Scott Chillemi -
Кількість відповідей: 2

I'm considering implementing SSL for my Moodle site.  I found the checkbox under: Home/  Site administration /  Security/  HTTP security which would turn on HTTPS for just the login page and then use HTTP everywhere else for better speed.

Is it possible to also turn on HTTPS for a single course, but allow the other courses to remain HTTP, which I understand is much faster?

My service provider will sell me a certificate, but doesn't know how to manage it within Moodle. 

I'm using Moodle 2.5.2, do I lose any other features when I go to HTTPS? 

 

Thanks,

 

Scott

У відповідь на Scott Chillemi

Re: Implementing SSL (https)

Howard Miller -
Фото Core developers Фото Documentation writers Фото Particularly helpful Moodlers Фото Peer reviewers Фото Plugin developers

With modern browsers it's no longer the case that https is much faster (or possibly any faster). If you want the whole site to be https it's mostly not a Moodle issue. Make your wwwroot in Moodle's config.php https and then add a rewrite rule to your web server to force all http to https

See http://wiki.apache.org/httpd/RewriteHTTPToHTTPS

У відповідь на Howard Miller

Re: Implementing SSL (https)

Andrew Lyons -
Фото Core developers Фото Moodle HQ Фото Particularly helpful Moodlers Фото Peer reviewers Фото Plugin developers Фото Testers

I agree with Howard. There is no good reason in this day and age to make your site partially SSL. I'd definitely recommend putting the entire site behind SSL.

The only thing you really should be aware of is that you will see warnings for any part of a page which attempts to load content from a non-http source (e.g. you have an image which is loaded from off-site from ). With things like the Media filters, Moodle does use the HTTPS equivalent where possible (e.g. http://youtube.com becomes https://youtube.com when embedding youtube videos), but not all sites offer HTTPS yet so this is not always possible.

Best wishes,

Andrew