MNET Public Key for your Moodle Site

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.

So you can use the following to get the public key and MNET information about your local moodle:

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

Tags