Web Hosting Forum - Explore the Latest in Web Hosting Discussions

We are a community of individuals and businesses passionate about web hosting. Let's build, learn, and grow together.

Failed to install Let's Encrypt certificate

Status
Not open for further replies.

phantrọng

Novice
Member
Hello, 

When i try to enable autoSSL for a particular domain, it does not install the certificate. It seems that some file inside the folder ".well-known" does not exist or is this same. please help.
 
  • Advertisement
  • Your .htaccess rules seem to be preventing the certificate from installation. Try adding the following code to the top of the .htaccess file in "public_html" folder:
    Code:
    <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_URI} !(.well-known) [NC]
    </IfModule>


    Regards
     
    Fixed: The error was due to the fact that the system could not access the files inside the .well-know folder due to restrictions in the .htaccess

    Thank you @"geniushost"
     
    hi,

    Check your .htaccess file for redirects. If there are complete matches for the entire domain, this won't be compatible with the Let's Encrypt challenge.
    If it's not within your .htaccess file, within Plesk go to the domain and then Apache and nginx Settings.

    If you have a blanket redirect, remove it and add it using the following guide: Plesk Onyx HTTPS redirect .
     
  • Advertisement
  • Status
    Not open for further replies.

    Advertisement

    Back
    Top