I just added a new domain in my nameserver and then ran acme-client

% sudo acme-client -D niets.boetes.org
acme-client: domain niets.boetes.org not found

So I assumed the dns was not yet in DNS. I waited a bit, checked the
propagation of my new entry in DNS, double checked
everything. Debugged, everything checked out fine. Still the same
error. What was going on!? Ten minutes later I realised my error.

This patch explains the problem so nobody can misunderstand the cause
of the problem.

diff --git a/usr.sbin/acme-client/main.c b/usr.sbin/acme-client/main.c
index f8dc22c8756..bcc00c3bc35 100644
--- a/usr.sbin/acme-client/main.c
+++ b/usr.sbin/acme-client/main.c
@@ -98,7 +98,7 @@ main(int argc, char *argv[])
                goto usage;
 
        if ((domain = domain_find(conf, argv[0])) == NULL)
-               errx(EXIT_FAILURE, "domain %s not found", argv[0]);
+               errx(EXIT_FAILURE, "domain %s not found in %s", argv[0], 
conffile);
 
        argc--;
        argv++;


resulting in:

% sudo ./acme-client -D niets.boetes.org
acme-client: domain niets.boetes.org not found in /etc/acme-client.conf


Please add me in your CC when replying to this email since I'm not
subscribed to this list.



# Han

Reply via email to