MNET public key

All MNET host keys are stored in the table: mdl_mnet_host.

The id of the local MNET host key (your moodle) is stored in the config table in the mnet_localhost_id value.

You can use the following to get the puglic key and MNET information about your local moodle. Also a good idea to back this up if it is a site with an MNET integration (e.g. Mahara) as it will break once the public key changes.

select * from mdl_mnet_host where id = (
    select value from mdl_config 
    where name = 'mnet_localhost_id'

Revision #1
Created Sun, Jul 21, 2019 4:15 PM by Moodle Wiki
Updated Sun, Jul 21, 2019 4:17 PM by Moodle Wiki