DutchProgrammer
Verified User
- Joined
- Oct 14, 2012
- Messages
- 15
Hello,
I just wanted to add an ssl certificate on a domein but when i was trying to add it, i get the following error:
Getting challenge for alpha-partner.bandenbestellen.nl from acme-server...
/usr/local/directadmin/scripts/letsencrypt.sh: line 319: /var/www/html/.well-known/acme-challenge/: Is a directory
/usr/local/directadmin/scripts/letsencrypt.sh: line 322: [: -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...
The above is causes by a space in the challenge:
', "challenges": [ { "type": "http-01", "st'
/usr/local/directadmin/scripts/letsencrypt.sh :
CHALLENGE="`echo "${RESPONSE}" | egrep -o '{[^{]*"type":"http-01"[^}]*'`"
adding the extra space in the regex is not fixing the bug
CHALLENGE="`echo "${RESPONSE}" | egrep -o '{[^{]*"type": "http-01"[^}]*'`"
I just wanted to add an ssl certificate on a domein but when i was trying to add it, i get the following error:
Getting challenge for alpha-partner.bandenbestellen.nl from acme-server...
/usr/local/directadmin/scripts/letsencrypt.sh: line 319: /var/www/html/.well-known/acme-challenge/: Is a directory
/usr/local/directadmin/scripts/letsencrypt.sh: line 322: [: -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...
The above is causes by a space in the challenge:
', "challenges": [ { "type": "http-01", "st'
/usr/local/directadmin/scripts/letsencrypt.sh :
CHALLENGE="`echo "${RESPONSE}" | egrep -o '{[^{]*"type":"http-01"[^}]*'`"
adding the extra space in the regex is not fixing the bug
CHALLENGE="`echo "${RESPONSE}" | egrep -o '{[^{]*"type": "http-01"[^}]*'`"