Welcome to Web Hosting Forum - Net Hosting Talk

Register now and be part of our community! When you register with the Net Hosting Talk you can join in with topics, start new topics, and generally be a part of the first level of our community. It's also quick and totally free, so what are you waiting for?

Failed to install Let's Encrypt certificate

Status
Not open for further replies.

phantrọng

Newbie
Messages
6
Reaction score
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.
 

geniushost 

Premium Member
Messages
36
Reaction score
1
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
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
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 .
 

HostXNow

Newbie
Messages
16
Reaction score
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

shape1
shape2
shape3
shape4
shape5
shape6
Top