Forums | Mahara Community

Mahara/Moodle integration /
Mahoodle does not working after Moodle changes to SSL


Rocky YIP's profile picture
Posts: 28

05 April 2011, 22:53

Dear all,

I change Moodle site to https://, user cannot go to Mahara via the SSO links.

Any idea about this problem.

 

Best Rgds,

Rocky.

Julian Ridden's profile picture
Posts: 37

06 April 2011, 0:10

Hi Rocky

Firstly, can you make sure that the systems can both still talk to each other? Try regenerating your Keys on both ends. If that works then I cant see why the SSO would then fail.

Also it may be also a setting in moodle's config.php. There is a known issue if wwwroot and httpswwwroot are both set and they're set differently. Check out the info listed here in the Mahara tracker. https://bugs.launchpad.net/mahara/+bug/646713

Let me know if that solves it for you

Julian

P.S. Sorry I did not respond to your email. It fell through the cracks in my swamped inbox. Thought posting a public response might also assist others who have this issue.

Iñaki Arenaza's profile picture
Posts: 253

06 April 2011, 2:38

If you change the wwwroot of your Moodle site, the SSL certificate will no longer be "valid". It contains the old wwwroot as part of the certificate and Mahara will see that the certificate value and the server it's connecting to don't match, so it will refuse to continue with the SSO process.

As Julian says, you should regenerate Moodle key (Mahara key will still be valid, unless you changed its wwwroot too) and update the Moodle key in Mahara XMLRPC config settings (in case Mahara doesn't update it automatically on the first SSO connection with the new key).

Saludos.
Iñaki.

Rocky YIP's profile picture
Posts: 28

10 April 2011, 21:58

I think I hit the bug.

The Mahara is using http:// while Moodle system has been changed to https://

When I submit "Add an Authority", the following error display.

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.

I have renewed Moodle's key.

 

Best Rgds,

Rocky.

4 results