I'm trying to authenticate a Mahara install to our Moodle 2.7 using the mahoodle documentation, but when I get to the part regarding XML-RPC SSO, mahara can't find the web root for moodle and the Public key doesn't appear in moodle, though it does suggest that it has been created with a validity of 1970
I've checked that curl and OpenSSL are installed. It's running on IIS.
Anyone any ideas what the issue might be?
Hi it's probably too late, but just in case someone else is looking for that answer, have a look at this Mnet FAQ
which says :
This could be because PHP cannot find the openssl.cnf file on your server - this is a very common issue on windows servers. To address this you must set the path to this file in your config.php file - first find the openssl.cnf file on your server then add it's location into your config.php file like this:
$CFG->opensslcnf = 'C:/apache2/bin/openssl.cnf';
I am also experiencing many problems.
I have followed the steps of the mnet documentation as much as I can and added the $CFG->opensslcnf = in my config page.
But when I try to save I always get the following if the dubugin is on :
Request for https://myfakemoodlesite.com returned unexpected resultLower in the page the current public key is empty.
If I print the error is seems to refer to curl error 51 : CURLE_PEER_FAILED_VERIFICATION
I'm not sure what else to try. Could the fact that both my moodles are on the same server be a problem?
Or that they have the same secruity certificate?