For security reasons only https conections are allowed, sorry.

For security reasons only https conections are allowed, sorry.

by Stefan Rudin -
Number of replies: 4

We are using AirLock for https. After enabling AriLock we geht the Message For Security reasons only https connections are allowed, sorry.

The option Site Administration > Security > HTTP security > Use HTTPS for logins helps not.

The message ist special because the connection is under https.

Has somebody a idea?

Thanks for Help Steve

Average of ratings: -
In reply to Stefan Rudin

Re: For security reasons only https conections are allowed, sorry.

by Colin Fraser -
Picture of Documentation writers Picture of Testers

AFAIK, if you are using Airlock on a secured server, then you may need to validate the authenticity of Moodle. (If you are on a Zeus server, there may be an additional problem, but that is, I think, confined to Moodle 2.0.x.) I do not think there is a way around this inside Moodle, but ordinarily, there should be no need for for SSL certification. You may either buy a SSL certificate from whomsoever supplies them, or you may create your own. There are a number of free tutorials around to assist you in doing this. I would suggest this does not really have much to do with Moodle, though, it is more likely your server/Airlock issue.

In reply to Colin Fraser

Re: For security reasons only https conections are allowed, sorry.

by Stefan Rudin -

I found the this option:

$CFG->sslproxy=true;

Now it works

Average of ratings: Useful (7)
In reply to Stefan Rudin

Re: For security reasons only https conections are allowed, sorry.

by Samuel Ramirez -

Hello.

I've the ssame problem Ste.

Where i can found, this option?

 

thanks.

In reply to Samuel Ramirez

Re: For security reasons only https conections are allowed, sorry.

by Guillermo Madero -

You should add it to your config.php file (located in your moodle directory).

Average of ratings: Useful (2)