cannot generate let's encrypt cert for domain

adrianmak

Verified User
Joined
Jan 30, 2010
Messages
49
I filled following info for a domain
BaiduShurufa_2016-12-16_6-50-12.png

When I clicked save, it return "Cannot Execute Your Request"



Cannot Execute Your Request

Details

Generating 4096 bit RSA key for let's encrypt account...
openssl genrsa 4096 > "/usr/local/directadmin/data/users/intaladmin/letsencrypt.key"
Generating RSA private key, 4096 bit long modulus
..........................................................................................................................................++
.......................................................................................................................................................................++
e is 65537 (0x10001)
Account has been registered.
Getting challenge for intalentlara.com.hk from acme-server...
Error: http://intalentlara.com.hk/.well-known/acme-challenge/letsencrypt_1481841877 is not reachable. Aborting the script.
dig output for intalentlara.com.hk:
[I remove my ip address of intalentlara.com.hk]
Please make sure /.well-known alias is setup in WWW server.


did i miss some other configuration for let's encrypt to work ?
I added following two line in directadmin.conf only
letsencrypt=1
enable_ssl_sni=1
 
Last edited:
Please check if the following fixes your problem:
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
 
Back
Top