Forced https deactivate

AI-generated summary

Forced HTTPS Deactivate Discussion Summary

The discussion revolves around ksjr who activated forced HTTPS, but is now unable to log in. itsbhanusharma suggests troubleshooting steps, including safe mode (example.com/safe-mode) and login backdoor (example.com/u/admin-login), as well as a manual fix via SSH.

ksjr encounters a ‘BAD CSRF’ error when trying to access safe mode and itsbhanusharma attributes this to a poorly configured SSL certificate. ksjr agrees with this assessment.

Since ksjr is unfamiliar with SSH, itsbhanusharma offers to help, but at a cost, which can be discussed via email. Meanwhile, pfaffman shares a link to a potentially relevant product.

Hello
Activated force https. After that I can’t log in anymore. How can I deactivate force https if the login no longer works?
Greetings
Urs

I don’t know why login broke with force https if your SSL certificate was set up properly.
Have you tried safe mode?

example.com/safe-mode

or login backdoor?

example.com/u/admin-login

Given that none of the above work for you, If you’re familiar with SSH you can log into your server via ssh and follow these:

cd /var/discourse
./launcher enter app
rails c
SiteSetting.force_https = false

[‘BAD CSRF’]

Feedback when I want to go into safe mode

Login Backoor

Oops! This page does not exist or is private.

This usually indicates a poorly configured SSL certificate. How did you install it?

I think that’s correct.

Can you help me with SSH?

I did this for the last time years ago.

I’ve given the exact instructions above but if you want me to do it for you, please create a topic in Marketplace I’ll be happy to take this on.

how high are the costs?

You can drop me an email to bhanu@orng.co for more details.