For everyone Who gets the following Error:
I have Found a temporary fix.
Because the licence of Letsenscript is renewed, you need to accept the new licence, this is normaly done by letsencrypt.sh, but this file contains the old licence.
The Fix:
Edit file as root/usr/local/directadmin/scripts/letsencrypt.sh
Replace Line 31
With
This will fix the Error for now, but Someone or Directadmin them self need to create a automatic update of the Let's encrypt license.
For the person who can create the automatic update of this url, the following command gives the current license url:
I hope This will help everybody.
Getting challenge for food.com from acme-server...
User let's encrypt key has been found, but not registered. Registering...
Account registration error. Response: HTTP/1.1 100 Continue
Expires: Tue, 02 Aug 2016 05:31:12 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
HTTP/1.1 400 Bad Request
Server: nginx
Content-Type: application/problem+json
Content-Length: 265
Boulder-Request-Id: qW_iEHuelm_qkJCQVghX_JNGcKKxoZjoKp_43CMuoqw
Replay-Nonce: sW-yXYD-rkmH05yoZp5oCJIoaXphdUiSr-AmiV3QuA8
Expires: Tue, 02 Aug 2016 05:31:12 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Tue, 02 Aug 2016 05:31:12 GMT
Connection: close
{
"type": "urn:acme:error:malformed",
"detail": "Provided agreement URL [https://letsencrypt.org/documents/LE...y-27-2015.pdf] does not match current agreement URL [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf]",
"status": 400
}.
I have Found a temporary fix.
Because the licence of Letsenscript is renewed, you need to accept the new licence, this is normaly done by letsencrypt.sh, but this file contains the old licence.
The Fix:
Edit file as root/usr/local/directadmin/scripts/letsencrypt.sh
Code:
nano /usr/local/directadmin/scripts/letsencrypt.sh
Replace Line 31
Code:
LICENSE="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"
Code:
LICENSE="https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf"
This will fix the Error for now, but Someone or Directadmin them self need to create a automatic update of the Let's encrypt license.
For the person who can create the automatic update of this url, the following command gives the current license url:
Code:
curl -I https://acme-v01.api.letsencrypt.org/terms 2>/dev/null | grep "Location:"
I hope This will help everybody.