- Plesk for Linux
- Plesk for Windows
A website behind Cloudflare shows the following error message in a web-browser:
The page isn’t redirecting properly
When Cloudflare is disabled, the website loads fine.
The Permanent SEO-safe 301 redirect from HTTP to HTTPS setting is enabled in Plesk at Domains > example.com > Hosting Settings or custom HTTPS redirection is configured in domain's .htaccess file.
Trying to issue a Let's Encrypt certificate for the example.com domain fails with the following error:
Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/11481922061.
Detail: Fetching /.well-known/acme-challenge/UcTI6ov0Pc3Fn2IRnNUiFKZKzBu5NaAy4IoscLbYh_I: Redirect loop detected
The SSL setting is set as "Flexible" in Cloudflare Crypto settings for this domain.
Log in to your Cloudflare account > click the domain name > click Crypto and change the SSL setting to "Full (strict)".
Note: The Cloudflare account is created automatically during the initial activation of the extension. Since the Cloudflare extension is enabled on the server, the corresponding account on a Cloudflare side already exists. If the account credentials are forgotten, try to recover the password via the following link to access Cloudflare dashboard: https://www.cloudflare.com/a/forgot-password
The same email should be specified as for the initial extension setup.
alternatively disable Permanent SEO-safe 301 redirect from HTTP to HTTPS at Domains > example.com > Hosting Settings
This has been stumping me for a while, but setting all of our sites in cloudflare to Full (strict) solved our issue!
Thank you for the feedback. Good to hear that the solution helped.
This does not work for me, I end with a
Invalid SSL certificate
Do you have any idea what i'm doing wrong ?
@Martin, this error could be caused by different things. I recommend opening a support ticket with us https://support.plesk.com/hc/en-us/articles/213608509-How-to-submit-a-request-to-Plesk-support-
Please sign in to leave a comment.