• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved Exclude .well-known dir from SEO-safe 301 redirect from http to https

gws

New Pleskian
Hey Pleskians!

I have had this bug-ish issue for a year now, so I wanted to check if there is an easy solution as this message has been bugging my OSD for long enough now:

logo.png
SSL/TLS Certificates\n Security can be improved.​

The Problem:
So here is a rundown. I got a Subscription running with NGINX that has a Let's Encrypt Certificate. Everything works fine, BUT when it comes to Assignment, Renewal or Reissue of the certificate Lets Encrypt shows an error that it can't access .well-known/chme-challenge/plainTextAuthCode.
After some digging, I realised that it is due to Safe-SEO 301 redirect from HTTP to HTTPS, the first toggle in the SSL/TLS Certificate section of the subscription or the Permanent SEO-safe 301 redirect from HTTP to HTTPS in the Hosting Settings for * in the Subscription.

The Solution:
Exclude .well-known directory from Safe-SEO 301 redirect from HTTP to HTTPS.

The New Problem:
How do I do that?
Now I know that there are probably rules I can apply in NGINX to remedy that, but I'm not sure which it would be and whether it would be conflicting with existing rules made by Plesk.

Temp Solution:
Don't redirect from HTTP to HTTPS
 
Back
Top