Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

forced https in GUI in presence of certificates on server then GUI is blocked

  • externe
  • externe's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 weeks ago #166253 by externe
we forced https in GUI in presence of certificates on server but GUI of Lime Survey becomes inaccessible.
Lime Survey version is 3.4.2.
Your fast feedback is highly appreciated.
The topic has been locked.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
6 years 3 weeks ago #166254 by c_schmitz
Hi,


Have a look at this setting which should help you out by adding it to your config.php:
Code:
/*** @var $ssl_emergency_override boolean forces SSL off
* if You've turned HTTPS/SSL on in the global settings but your
* server doesn't have HTTPS enabled, the only way to turn it off is
* by changing a value in the database directly. This allows you to
* force HTTPS off while you change the global settings for Force Secure.
*
* false = do nothing;
* true = override $force_ssl=on;
*
* This should always be false except in emergencies where you change
* it to true until you fix the problem.
*/

So add
"ssl_emergency_override'' => false;

to your config.php the same way as the debug param.

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
  • externe
  • externe's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 weeks ago #166256 by externe
Hello Carsten

Many thanks for your help. We tried the above procedure and it did not work with us.

Details of our environment:
Operating System: Oracle Linux 6.8
Lime Survey version: 3.4.2

Regards,
Sherif
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 weeks ago - 6 years 3 weeks ago #166257 by tpartner
Shouldn't that be:


ssl_emergency_override'' => true;

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 6 years 3 weeks ago by tpartner.
The topic has been locked.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
6 years 3 weeks ago #166258 by c_schmitz
Yes, Tony, is right.

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
  • externe
  • externe's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 weeks ago #166262 by externe
Many thanks . GUI became working now. We need to let https be forced and harmonised with the certificate we have already in our apache.
The topic has been locked.
  • externe
  • externe's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 weeks ago #166266 by externe
Hello
It is working now after correcting an error in apache config file.
Thanks

Sherif
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose