Mnet From Moodle SSL to Moodle non-SSL

Mnet From Moodle SSL to Moodle non-SSL

Alan Reynoso
Number of replies: 4

HI Everybody, a days ago my moodle connection as peer was working good, but yesterday I set SSL (https protocol or 443 port) mode to my Moodle site, everything is working fine at this side, but when i try to connect to the remote Moodle site i get this error message.

RPC auth/mnet/user_authorise:XML Parse error in payload: syntax error At line number: 1 Which reads: ERROR 3:3:XML Parse error in payload: syntax error At line number: 1 Which reads:

Worth to mention that the remote moodle site is running by 80 port (http protocol)

Somebody can throw me a cable?

Best regards my friends!

평균 등급 : -
In reply to Alan Reynoso

Re: Mnet From Moodle SSL to Moodle non-SSL

Ken Task
Particularly helpful Moodlers 사진

Don't have exactly same setup (one SSL the other not), but have had to do the following when certificates expired:

Delete the certificates for the MNet hosts on both servers.  Then re-gen them.  Then go to the config of both servers and either re-aquire or copy and paste new certificates from one to the other.  Might have to use two browser windows ... one for site A and one for site B ... might even have to use two different browsers: IE logged on to site A, FireFox logged on to site B.

'spirit of sharing', Ken

In reply to Ken Task

Re: Mnet From Moodle SSL to Moodle non-SSL

Alan Reynoso

Thank you Ken, the other moodle site is owned by another admin, I will ask him for a new key!! 미소

In reply to Alan Reynoso

Re: Mnet From Moodle SSL to Moodle non-SSL

Ken Task
Particularly helpful Moodlers 사진

One more thing to check on both sites ... the default for new key required is 28 days.  Both sites might want to add:

$CFG->mnetkeylifetime = '356';

to config.php of the sites.  Number is in days.

'spirit of sharing', Ken

In reply to Ken Task

Re: Mnet From Moodle SSL to Moodle non-SSL

Alan Reynoso

Thats great Ken, the other admin has to re-add my moodle site as https, whe share again PK and with that is working now.

Thank you my friend!

Best regards.