Hi there,
I'm having a weird issue regarding DirectAdmin v1.50.0 and Let's Encrypt.
It's working great for domains controlled via the panel, but I would like to run DA itself on one too.
So I tried to run
but getting an error
After some debugging I found the line "CHALLENGE=...." and the "CHALLENGE" variable is empty. But the ${RESPONSE} is filled with some JSON data.
The .well-known folder is reachable via the server it's hostname (on naked domain as well)
Anyone have any clue what I can do to make this work?
Thanks in advance.
Regards, Bert
I'm having a weird issue regarding DirectAdmin v1.50.0 and Let's Encrypt.
It's working great for domains controlled via the panel, but I would like to run DA itself on one too.
So I tried to run
Code:
./letsencrypt.sh request {hostname} 4096
Code:
Setting up certificate for a hostname: {hostname}
Getting challenge for {hostname} from acme-server...
./letsencrypt.sh: line 321: /var/www/html/.well-known/acme-challenge/: Is a directory
./letsencrypt.sh: line 324: [: -ne: unary operator expected
Waiting for domain verification...
rm: cannot remove ‘/var/www/html/.well-known/acme-challenge/’: Is a directory
Challenge is . Details: . Exiting...
After some debugging I found the line "CHALLENGE=...." and the "CHALLENGE" variable is empty. But the ${RESPONSE} is filled with some JSON data.
The .well-known folder is reachable via the server it's hostname (on naked domain as well)
Anyone have any clue what I can do to make this work?
Thanks in advance.
Regards, Bert