Custom Build "./build letsencrypt" not working.

TrafalgarLaw999

Verified User
Joined
Dec 21, 2016
Messages
7
Hi. I got a Lets Encrypt renew error message in the message system:
Getting challenge for example.com from acme-server...
Nonce is empty. Exiting. dig output of acme-v01.api.letsencrypt.org:
prod.api.letsencrypt.org.
ca80a1a**************44e9a61.pacloudflare.com.
172.65.32.248
Full nonce request output:
HTTP/1.1 403 Forbidden
Server: nginx
Date: Thu, 08 Jul 2021 17:10:21 GMT
Content-Type: application/problem+json
Content-Length: 333
Connection: keep-alive
ETag: "6****61-14d"

It was a deprecated Lets Encrypt that needs to update. Then, I follow this guide.

cd /usr/local/directadmin/custombuild
./build update
./build letsencrypt

But, the output of ./build letsencrypt is not as expected here.

+--------------------------------------------------------+
| |
| DirectAdmin WebServices Installer |
| Written by Martynas Bendorius and DirectAdmin |
| Version: 1.2.43 |
| |
+--------------------------------------------------------+
| To build everything run: |
| ./build all |
| |
| NOTE: Command all will compile everything as it is set |
| in the options.conf file, please take a look at |
| "./build options"! |
+--------------------------------------------------------+
| Install/update server components: |
| ./build apache |
| ./build autoconf |
| ./build automake |
| ./build awstats |
| ./build clamav |
| ./build curl |
| ./build dovecot |
| ./build exim |
| ./build freetype |
| ./build iconv |
| ./build icu |
| ./build ioncube |
| ./build libjpeg |
| ./build libpng |
| ./build libtool |
| ./build libxml2 |
| ./build libxslt |
| ./build m4 |
| ./build mailman |
| ./build mcrypt |
| ./build mhash |
| ./build mod_perl |
| ./build mysql |
| ./build pcre |
| ./build php |
| ./build proftpd |
| ./build pureftpd |
| ./build suphp |
| ./build spamassassin |
| ./build webalizer |
| ./build zend |
| ./build zlib |
+--------------------------------------------------------+
| Components configuration options: |
| ./build exim_conf |
| ./build php-ini |
| ./build rewrite_confs |
| ./build secure_php |
+--------------------------------------------------------+
| Install/update web applications: |
| ./build phpmyadmin |
| ./build atmail |
| ./build roundcube |
| ./build squirrelmail |
| ./build uebimiau |
+--------------------------------------------------------+
| CustomBuild related options/functions: |
| ./build create_options |
| ./build cron |
| ./build options |
| ./build set option_name value |
| ./build set_fastest |
| ./build set_fastest_quiet |
| ./build update_da |
| ./build update_versions |
| ./build update_webapps |
| ./build used_configs |
| ./build versions |
+--------------------------------------------------------+
| Jailed shell (beta): |
| ./build all_jail |
| ./build coreutils |
| ./build shell |
| ./build smtp_mail |
| ./jail/jail_user.sh user |
+--------------------------------------------------------+
| Remove old build data: |
| ./build clean |
| ./build clean_old_webapps |
+--------------------------------------------------------+
| Get latest build script or (and) data: |
| ./build update |
| ./build update_script |
+--------------------------------------------------------+
| Get data for current build script: |
| ./build update_data |
+--------------------------------------------------------+
| Recommended for experienced users only (!): |
| ./build php5-cli |
| ./build php6-cli |
| ./build php5-cgi |
| ./build php6-cgi |
| ./build todovecot |
+--------------------------------------------------------+
| You can pass a 2nd argument to automate the input: |
| ./build <option> d : do the default action |
| ./build <option> y : answer yes to all questions |
| ./build <option> n : answer no to all questions |
+--------------------------------------------------------+

Seems like the build dont know option letsencrypt. So I run:

./build options

Has no entry of Lets Encrypt.

This is the config of /usr/local/directadmin/conf/directadmin.conf

letsencrypt=1

Then I found a post on Directadmin forum suggests to manual wget it.

wget -O /usr/local/directadmin/scripts/letsencrypt.sh http://files1.directadmin.com/services/all/letsencrypt.sh

With additional manual installation of LEGO, I could get Let's Encrypt running and save my ass this time.

However, my custom build is still can't build letsencrypt. Is there some commands to fix it? Thank you.

These are my additional information:
  • CentOS 6.0 64-Bit
  • Server Version 1.61.5
  • Build Version 1.2.43
 
You're using end-of-life version of the CustomBuild script. 2.0 is the current one.
 
Back
Top