Index: mnet/xmlrpc/client.php
===================================================================
RCS file: /cvsroot/moodle/moodle/mnet/xmlrpc/client.php,v
retrieving revision 1.12.2.1
diff -u -r1.12.2.1 client.php
--- mnet/xmlrpc/client.php	20 Feb 2007 02:05:32 -0000	1.12.2.1
+++ mnet/xmlrpc/client.php	18 Apr 2007 07:12:15 -0000
@@ -186,6 +186,8 @@
         curl_setopt($ch, CURLOPT_USERAGENT, 'Moodle');
         curl_setopt($ch, CURLOPT_POSTFIELDS, $rq);
         curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: text/xml charset=UTF-8"));
+        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
+        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
 
         $timestamp_send    = time();
         $this->rawresponse = curl_exec($ch);
Index: mnet/lib.php
===================================================================
RCS file: /cvsroot/moodle/moodle/mnet/lib.php,v
retrieving revision 1.9.2.1
diff -u -r1.9.2.1 lib.php
--- mnet/lib.php	20 Feb 2007 02:05:32 -0000	1.9.2.1
+++ mnet/lib.php	18 Apr 2007 07:12:15 -0000
@@ -63,6 +63,8 @@
     curl_setopt($ch, CURLOPT_USERAGENT, 'Moodle');
     curl_setopt($ch, CURLOPT_POSTFIELDS, $rq);
     curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: text/xml charset=UTF-8"));
+    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
+    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
 
     $res = xmlrpc_decode(curl_exec($ch));
     curl_close($ch);
