let's encrypt error while creating a certificate

ericosman

Verified User
Joined
Nov 25, 2019
Messages
571
Location
Weert
Hey all,

When i want to create an let's encrypt certificate i get this error message:
Error: http://imap.mydomainhere.com/.well-known/acme-challenge/letsencrypt_1587457607 is not reachable. Aborting the script.
dig output for imap.mydomainhere.com:
Please make sure /.well-known alias is setup in WWW server.

A way i found to fix this is creating an A record with the following info (but i don't think this is the right way....):
TypeNameValue
A*SERVERIPHERE

This is in my Directadmin.conf
Code:
letsencrypt=1
letsencrypt_list=www:mail:ftp:pop:smtp:imap:webmail
letsencrypt_list_selected=www:mail:ftp:pop:smtp:imap:webmail

Does anyone have an idea what could be wrong?
 
For all included in generated cert subdomains must exist correct DNS record, and all them must point to server where You run letsencrypt script.
In Your case - check subdomain IMAP
 
Back
Top