Hello, I have been having issue with the above issue. I tried redirecting my site from http to https and the issue above started how do I go about solving this?
How do I also navigate my cloudflare account with the issue of two factor authentication. I don’t know or remember activating this code.
Are you using Flexible SSL? Yes/no
Do you have valid SSL Certificate at hosting server from a trusted Cert Authority? No/yes
- To resolve this issue, avoid Flexible SSL, change it to Full strict
- Install Cloudflare Origin SSL at your origin server
I am on the cloudflare free SSL plan for now. I can’t even access my account due to the two factor authentication issue so I can’t change from full to flexible or otherwise.
Are you running WordPress?
Yes! I’m running wordpress.
Disclaimer: This is a bad advice. Implement at own risk. This is not actual replacement of TLS, nothing more than a workaround for getting lock icon and HTTPS. Never use at E-Commerce site. I always recommend not using Cloudflare for the sake of Flexible=Fake HTTPS.
Risk explained by someone
Get proper TLS Certificate from Let’s Encrypt, OpenSSL or Cloudflare and install first at origin, secure it first, then deploy Full Strict at Cloudflare. Read below docs for more information.
Final warning: This should be last option and shouldn’t be treated as actual end-to-end encryption.
Login to File Manager / FTP, Go to public_html
directory where your WordPress is present.
Edit wp-config.php
Put below code before /* That's all, stop editing! Happy publishing. */
if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
$_SERVER['HTTPS'] = 'on';
}
How do I solve the two factor authentication issue?
You need to consult Cloudflare support. This is something I can’t help with. Sorry!
Just to add to @user3996’s comments about contacting support for the 2FA issue.
That is correct, we can’t help with that, there are a few things that you will need to include when you do open a ticket. These are outlined in Community Tip - Best Practices For Setting up and Using Two-factor authentication.
Thanks. How do I reach them? I have been trying to reach them for the past 2days. I really don’t mind calling them.
To contact Cloudflare Customer Support, login & go to https://dash.cloudflare.com/?account=support and select get more help. Or email them at: If you are a Cloudflare account holder, please submit a new support request from the email address you used to register your Cloudflare account. You should open a ticket directly through the Cloudflare dashboard following these steps: 1. Log in to your Cloudflare account and click on “Support” in the top right corner, from the drop down select Help Center. 2. Click on your name in the top right corner, and in the drop down menu select “My activities” where you will see your existing requests. 3. Scroll to the bottom of the “My Requests” page and click “Submit a request”.. If you receive an automatic response that does not help you, please reply and indicate you need more help.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.