Hi
I may have found a bug in the letsencrypt script /usr/local/directadmin/scripts/letsencrypt.sh
I have a server setup that has an IPV6 but it is not enabled in directadmin.conf /usr/local/directadmin/conf/directadmin.conf
In that case the letsencrypt script assumes the well known file can be reached on IPV6 which it cant.
This started to play up in the last 3 months before that this worked fine.
Here is a screenshot of the bugfix that will work, at least it worked for me, you have to modify /usr/local/directadmin/scripts/letsencrypt.sh and do this again when it gets updated automatically until the bug is fixed
The errors I got before fixing this were
[root@yourdomain scripts]# ./letsencrypt.sh request_single `hostname -f` 4096
Setting up certificate for a hostname: yourdomain.com
yourdomain was skipped due to unreachable http://yourdomain.com/.well-known/acme-challenge/ file.
No domains pointing to this server to generate the certificate for.
I may have found a bug in the letsencrypt script /usr/local/directadmin/scripts/letsencrypt.sh
I have a server setup that has an IPV6 but it is not enabled in directadmin.conf /usr/local/directadmin/conf/directadmin.conf
In that case the letsencrypt script assumes the well known file can be reached on IPV6 which it cant.
This started to play up in the last 3 months before that this worked fine.
Here is a screenshot of the bugfix that will work, at least it worked for me, you have to modify /usr/local/directadmin/scripts/letsencrypt.sh and do this again when it gets updated automatically until the bug is fixed
The errors I got before fixing this were
[root@yourdomain scripts]# ./letsencrypt.sh request_single `hostname -f` 4096
Setting up certificate for a hostname: yourdomain.com
yourdomain was skipped due to unreachable http://yourdomain.com/.well-known/acme-challenge/ file.
No domains pointing to this server to generate the certificate for.