Looks like it might be an IIS issue
https://moodle.org/mod/forum/discuss.php?d=75556
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';
HI,
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 result
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?
Any suggestions?