Page MenuHomePhabricator
Paste P7529

gdnsd/certcentral problem with ACME challenges beginning with a hyphen
ActivePublic

Authored by Krenair on Sep 11 2018, 12:35 AM.
krenair@deployment-certcentral-testdns:~$ /usr/bin/sudo /usr/bin/gdnsdctl acme-dns-01 publictestlabs.alexmonk.uk -TRta7bBXdBMGITJASxX13gBsPeUbYn9HRqRg9sHmYY
/usr/bin/.libs/gdnsdctl: invalid option -- 'T'
gdnsdctl version 2.99.1
Usage: gdnsdctl [-c /etc/gdnsd] [-D] [-l] [-t 47] <action> [...]
-c - Configuration directory (def /etc/gdnsd)
-D - Enable verbose debug output
-l - Send logs to syslog rather than stderr
-t - Timeout in seconds (def 47, range 5 - 300)
Actions:
stop - Stops the running daemon
reload-zones - Reload the running daemon's zone data
replace - Ask daemon to spawn a takeover replacement of itself (updates code, config, zone data)
status - Checks the running daemon's status
stats - Dumps JSON statistics from the running daemon
states - Dumps JSON monitored states
acme-dns-01 - Create ACME DNS-01 payloads from additional arguments:
<name> <payload> <name> <payload> ... [max 100 payloads]
acme-dns-01-flush - Flush (remove) all ACME DNS-01 payloads added above
Features: prod unwind geoip2
Build Info: non-git
Bug report URL: https://github.com/gdnsd/gdnsd/issues
General info URL: http://gdnsd.org
krenair@deployment-certcentral-testdns:~$ /usr/bin/sudo /usr/bin/gdnsdctl acme-dns-01 publictestlabs.alexmonk.uk \-TRta7bBXdBMGITJASxX13gBsPeUbYn9HRqRg9sHmYY
/usr/bin/.libs/gdnsdctl: invalid option -- 'T'
gdnsdctl version 2.99.1
Usage: gdnsdctl [-c /etc/gdnsd] [-D] [-l] [-t 47] <action> [...]
-c - Configuration directory (def /etc/gdnsd)
-D - Enable verbose debug output
-l - Send logs to syslog rather than stderr
-t - Timeout in seconds (def 47, range 5 - 300)
Actions:
stop - Stops the running daemon
reload-zones - Reload the running daemon's zone data
replace - Ask daemon to spawn a takeover replacement of itself (updates code, config, zone data)
status - Checks the running daemon's status
stats - Dumps JSON statistics from the running daemon
states - Dumps JSON monitored states
acme-dns-01 - Create ACME DNS-01 payloads from additional arguments:
<name> <payload> <name> <payload> ... [max 100 payloads]
acme-dns-01-flush - Flush (remove) all ACME DNS-01 payloads added above
Features: prod unwind geoip2
Build Info: non-git
Bug report URL: https://github.com/gdnsd/gdnsd/issues
General info URL: http://gdnsd.org
krenair@deployment-certcentral-testdns:~$ /usr/bin/sudo /usr/bin/gdnsdctl acme-dns-01 publictestlabs.alexmonk.uk \\-TRta7bBXdBMGITJASxX13gBsPeUbYn9HRqRg9sHmYY
fatal: Payload '\-TRta7bBXdBMGITJASxX13gBsPeUbYn9HRqRg9sHmYY' for 'publictestlabs.alexmonk.uk' is not 43 bytes long