We tried to make use of the mnet, but failed. Our two moodles A & B (1.9.7) live on the same mashine in different directories, sharing one IP. We added the openSSL path to moodle/config.php like suggested earlier. The private pey is generated properly, and also is published to the target moodle, and vice versa. The home page block lists target moodles, but connections fails by saying:
RPC auth/mnet/user_authorise:No key matchERROR 3:3:No key match
Throwing the debugger on gave additional info:
Warning: openssl_sign() [function.openssl-sign]: supplied key param cannot be coerced into a private key in C:\xampp\htdocs\moodle-b\mnet\lib.php on line 172
Warning: openssl_open() [function.openssl-open]: unable to coerce parameter 4 into a private key in C:\xampp\htdocs\moodle-b\mnet\xmlrpc\client.php on line 218
Warning: openssl_open() [function.openssl-open]: unable to coerce parameter 4 into a private key in C:\xampp\htdocs\moodle-b\mnet\xmlrpc\client.php on line 231
Warning: openssl_open() [function.openssl-open]: unable to coerce parameter 4 into a private key in C:\xampp\htdocs\moodle-b\mnet\xmlrpc\client.php on line 231
Warning: openssl_open() [function.openssl-open]: unable to coerce parameter 4 into a private key in C:\xampp\htdocs\moodle-b\mnet\xmlrpc\client.php on line 231
Notice: None of our keys could open the payload from host http://10.0.95.156/moodle-a with id 3. in C:\xampp\htdocs\moodle-b\mnet\xmlrpc\client.php on line 240
Some more details:
Networks are allowed in networking > settings.
Networking > Peers > Host > Services (SSO) are all enabled.
Moodle Network authentication is in place on both systems.
Moodle networking is allowed in courses > enrolments, one directory is listed as available.
Admin & teachers have role permission to roam to other moodle sites.
I also granted permission for individuals, but received the same errors.
Any idea on how to get the moodle network up and running would be appreciated!
Best Regards, Marcus