How to issue letsencrypt license

#1
Hi,

How can I get around this issue ?

#################################
Note that to use the webroot plugin, your server must be configured to serve files from hidden directories. If /.well-known is treated specially by your webserver configuration, you might need to modify the configuration to ensure that files inside /.well-known/acme-challenge are served by the webserver.

#################################

Regards
 
#3
IMPORTANT NOTES:
- The following errors were reported by the server:

Domain: example.com
Type: connection
Detail: Fetching
http://example.com/.well-known/acme-challenge/dZdskVv8_w-QC8A6UeGvfAy1ndexfgYq6cllPiBwjP8:
Timeout

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
 
#4
This error occured, even though the /.well-know folder is present but litespeed was not able to read it because its hidden.

Litespeed reads everything else
 

lsfoo

Administrator
#5
Do you have some rules that may be blocking the request? I just created a test script within a hidden folder and it was fine.
 

lsfoo

Administrator
#11
@cyberpersons

A couple questions:

1. What OS are you using?
2. Is the webroot directory correct? In that is .well-known created in the correct subdirectory? Using our default vhost as an example, it is located at /usr/local/lsws/Example/, but files are served from /usr/local/lsws/Example/html/, so .well-known should be created at /usr/local/lsws/Example/html/.well-known/ in order to be served as example.com/.well-known/
 
#12
@cyberpersons

A couple questions:

1. What OS are you using?
2. Is the webroot directory correct? In that is .well-known created in the correct subdirectory? Using our default vhost as an example, it is located at /usr/local/lsws/Example/, but files are served from /usr/local/lsws/Example/html/, so .well-known should be created at /usr/local/lsws/Example/html/.well-known/ in order to be served as example.com/.well-known/
Thank you I was able to fix it.

Problem that it was not able to verify behind NAT. I had to use VPS.
 

lsfoo

Administrator
#15
CertBot compares the IP of the server with the IP of the hostname - is it possible that the NAT is not forwarding the IP?
 
Top