Let's Encrypt

SharkServers

Verified User
Joined
Aug 28, 2014
Messages
7
Location
www.sharkserve.rs
Hi,

Just wanted to notify DA staff that there is an issue with the letsencrypt.sh script in the scripts/ directory. I've just enabled the option in directadmin.conf, did ./build update and ./build rewrite_confs, but it appears that DA doesn't update the letsencrypt.sh script, as I'm getting the following when trying to generate a certificate:

Code:
"detail": "Provided agreement URL [https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf] does not match current agreement URL [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf]"

This is easily resolved by updating the license agreement to https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf in letsencrypt.sh, but if they change the agreement again, it's unlikely that DA would notice, and another manual change would be required. Not an issue if you manage 1 or 2 servers, but can be a nightmare if you have hundreds. The license agreement URL should be updated automatically by DA somehow.

Thanks,
Ray
 
It is managed in custombuild, you need to do:

cd /usr/local/directadmin/custombuild
./build update
./build versions (to view the new version of the script)
./build letsencrypt
 
Also let us know what mirror are you using:
Code:
cat /usr/local/directadmin/custombuild/options.conf | grep downloadserver

Best regards
 
LetsEncrypt policy request the certificate to be valid for 3 months, DirectAdmin internally check the remaining days and auto-renew it, so, please clarify what problem are you facing.

Best regards
 
I had one report that a cert on one of the servers under our support failed to auto-renew. Probably you have the same issue. Make sure letsencrypt.sh script is updated as mentioned by ditto in the post #2.

For what reason this letsencrypt can not auto renew ?

Br.,
 
Back
Top