Forums | Mahara Community
Mahara/Moodle integration
/
administer authorities ,error
01 February 2012, 2:42
hello ,
i try to integrate mahara and moodle and mahara gives me error
"error retrieving public key, failed with error code 0:sorry, but that hostname (0) could not be resolved"
any help?
01 February 2012, 3:50
Hello,
Usually this problem is solved when you scrupulously type the paht to your Moodle and Mahara servers a they appears in their config.php file.
Check also if mnt is installed and switched on, on both servers.
HTH
-dajan
01 February 2012, 5:10
thanks for answer, but my mnet is enable and the wwwroot is correct.(http://localhost/moodle)
02 February 2012, 5:42
maybe the problem is moodle, my certificate is out of a date. How can i fix it?
i already run makecert.bat, and change the (xampp/htdocs/moodle/lib/zend/zend/date.php filewith correct years) .
No luck :(
any thoughts?????
03 February 2012, 4:37
I am very happy for you.
Could you tell here what is the solution you found, so if other people with the same problem come here they will know what you did and how they could solve their own problem.
Thank you in advance
Regards,
-dajan
06 February 2012, 3:26
on moodle, my private key was out of date...solution for me :
because, i have moodle and mahara install on xampp ,
step1. rename my openssl.cnf ->openssl.conf and I change all files with this( examp. makecert.bat)
step 2. c:/xampp/htdocs/moodle/config.php, add the line $CFG->opensslcnf='c:\xampp\apache\bin\openssl.conf';
this create me a new certificate wich expires in 2013 (for this i change the year in zend file)
.....
on mahara the message
"An error occurred while retrieving the public key from the remote server.
Please ensure that the Application and WWW Root fields are correct, and that networking is enabled on the remote host.Error retrieving public key, failed with error code 0: Sorry, but that hostname (0) could not be resolved!"
still exist :(
(sorry for my english)
06 February 2012, 5:30
solution is : goto moodle and Peers >SSO access control> add to access control, with mahara
this make the mahara to allow the connection.