Trouble with Letsencrypt and hostname

Doliwa

Verified User
Joined
Jan 18, 2017
Messages
8
I have a problem.
I'm trying to install ssl lets encrypt for hostname.
I follow the instructions:

cd / usr / local / DirectAdmin / scripts
./letsencrypt.sh request myhostname.com 4096

As a result, I getting

Setting up certificate for a myhostname: ns3005561.ip-91-121-66.eu
Getting challenge for myhosname.com from acme-server ...
Waiting for domain verification ...
Challenge is valid.
Getting challenge for www.myhostmane.com.eu from acme-server ...
Waiting for domain verification ...
Challenge is invalid. Details: DNS issue: NXDOMAIN looking up A for www.myhostname.com Exiting ...

Lets Encrypt from the DA panel works flawlessly for my domains
 
I believe you have to use the request_single since version 1.0.4 of the script, I guess the documentation hasn't been updated yet.
So this should work:
Code:
./letsencrypt.sh request_single myhostname.com 4096
 
Back
Top