Failed to install Let's Encrypt certificate

Welcome to our community

Be apart of something great, join today!

Status
Not open for further replies.

phantrọng

Newbie
Messages
6
Reaction score
0
Points
0
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
  • geniushost 

    Premium Member
    Messages
    38
    Reaction score
    2
    Points
    17
    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
     

    phantrọng

    Newbie
    Messages
    6
    Reaction score
    0
    Points
    0
    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"
     

    neckozenica

    Newbie
    Messages
    12
    Reaction score
    0
    Points
    0
    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
  • HostXNow

    Newbie
    Messages
    16
    Reaction score
    0
    Points
    0
    The only usual reason for these not to work is when the domain is not pointing properly.
     
    Status
    Not open for further replies.

    Advertisement

    Top