Public Key's not updating automatically

Public Key's not updating automatically

by Alan Cherwinski -
Number of replies: 1

Moodle 2.6+ (Build: 20131122).

It is not handled by the Cron so why does the renewal of the keys fail? I can't find any reports of this as a problem since back in 2008.

Thanks for any help and insight that can get me out of having to manually renew the keys every 28 days.

Alan

Average of ratings: -
In reply to Alan Cherwinski

Re: Public Key's not updating automatically

by Nacho Aguilar -

Hi, 

According to config-dist.php you must add in your config.ph this:

$CFG->mnetkeylifetime = 28;

So you change that to 365 o whatever you like

After that, you must delete and update any existing key.

Cheers