install CERTbot on moodle

install CERTbot on moodle

by Luis Alford -
Number of replies: 2

Hi, 

I really need some help... I have try to install a security certificate to moodle. usong the certbot  utility, I have been able to install it.  but then the site sees off I have try anything I can think off but not luck 

the server is using a nginx  and php-fmp  has any one been able to do it ?

what am i missing please help 

Average of ratings: -
In reply to Luis Alford

Re: install CERTbot on moodle

by Ken Task -
Picture of Particularly helpful Moodlers

So your site is responding correctly to https:// access ... the icon in the browser bar shows cert comes from LetsEncrypt ... right?

If so ... still more to do with moodle.

1. edit config.php files wwwroot line ... which probably is still http:// ... obviously, changed to https://

2. Not done yet ... all the internal links in Moodle have been using that wwwroot variable to build and record in the DB for your Moodle.   There is a tool to help find and replace all the now errant protocols.

** but before you use it ... *BACKUP* your database ... and know how to restore that backup, just in case.

goto: https://yoursite/admin/tool/replace/ OR depending upon version of Moodle (newer has also: https://yoursite/admin/tool/httpsreplace/

You will be prompted to login as an admin level user.

Search for http://site/ and replace with https://site/

If you do it, right ... need to also clear the server caches ...

https://site/admin/purgecaches.php

Purge them all! smile

'SoS', Ken

In reply to Ken Task

Re: install CERTbot on moodle

by Luis Alford -

thanks for your soon replay I will try it and let you know...