Forum Problems Installing LAMS: Re: Re: Moodle : odd behaviour (502 error - no trusted certificate)


 
Search: 

4: Re: Re: Moodle : odd behaviour (502 error - no trusted certificate)
In response to 3 04/27/06 03:29 PM
[ Reply | Forward ]
Hi Chris,

> Moodle and Lams are running on the same server

There's really no need to try to run the webservices communication over SSL if both applications are running on the same server.

SSL becomes handy when you need to ensure that data is transmitted securely across networks. But if both apps are in the same server, SSL is just plain overhead as you are encrypted and decrypting the data packages purposely because the data never 'leaves' the server.

The errors that you are getting are happening when the webservices call tries to exchange the certificates or keys to do the handshake (here's more info on how this works). Just like your browser does when you connect to an webserver over SSL, it exchange certificates to begin the encryption... in this case, it seems to me that when Moodle is connecting to LAMS over SSL, the same exchange of certificates is attempting to happen... and it seems that it isn't working there.

I really have no experience running webservices over SSL, but since you are running both in the same server, it might just be easy to run the webservices over normal http instead of https. Can you give this a try?

Thanks,

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to Problems Installing LAMS