Script Error in DNS-Namesilo method



  • I'm using pfsense 2.4.3p1, ACME version 0.3.2.

    It is giving me "error: parentheses not balanced" near the bottom.

    ==================
    www.example.com
    Renewing certificate
    account: www.example.com
    server: letsencrypt-staging

    /usr/local/pkg/acme/acme.sh --issue -d 'www.example.com' --dns 'dns_namesilo' --home '/tmp/acme/www.example.com/' --accountconf '/tmp/acme/www.example.com/accountconf.conf' --force --reloadCmd '/tmp/acme/www.example.com/reloadcmd.sh' --log-level 3 --log '/tmp/acme/www.example.com/acme_issuecert.log'

    Array
    (
    [path] => /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
    [PATH] => /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/
    [Namesilo_Key] => ###################
    )
    [Sun Sep 2 01:16:11 PDT 2018] Single domain='www.example.com'
    [Sun Sep 2 01:16:11 PDT 2018] Getting domain auth token for each domain
    [Sun Sep 2 01:16:11 PDT 2018] Getting webroot for domain='www.example.com'
    [Sun Sep 2 01:16:11 PDT 2018] Getting new-authz for domain='www.example.com'
    [Sun Sep 2 01:16:13 PDT 2018] The new-authz request is ok.
    [Sun Sep 2 01:16:13 PDT 2018] Found domain api file: /usr/local/pkg/acme/dnsapi/dns_namesilo.sh
    [Sun Sep 2 01:16:14 PDT 2018] Successfully added TXT record, ready for validation.
    [Sun Sep 2 01:16:14 PDT 2018] Sleep 120 seconds for the txt records to take effect
    [Sun Sep 2 01:18:14 PDT 2018] Verifying:www.example.com
    [Sun Sep 2 01:18:17 PDT 2018] Found domain http api file: /usr/local/pkg/acme/dnsapi/dns_namesilo.sh
    [Sun Sep 2 01:18:18 PDT 2018] Successfully retrieved the record id for ACME challenge.
    [Sun Sep 2 01:18:18 PDT 2018] Removing DNS records.
    [Sun Sep 2 01:18:19 PDT 2018] Successfully retrieved the record id for ACME challenge.
    [Sun Sep 2 01:18:19 PDT 2018] Successfully removed the TXT record.
    [Sun Sep 2 01:18:17 PDT 2018] www.example.com:Verify error:DNS problem: NXDOMAIN looking up TXT for _acme-challenge.www.example.com
    sed: 1: "s/.(([^<] ...": RE error: parentheses not balanced
    sed: 1: "s/.(([^<] ...": RE error: parentheses not balanced
    [Sun Sep 2 01:18:18 PDT 2018] Unable to remove the DNS record.
    [Sun Sep 2 01:18:18 PDT 2018] Error rm webroot api for domain:dns_namesilo
    [Sun Sep 2 01:18:19 PDT 2018] Please check log file for more details: /tmp/acme/www.example.com/acme_issuecert.log


  • Rebel Alliance Developer Netgate

    The only line in the script that has sed is the same upstream in https://github.com/Neilpang/acme.sh/blob/master/dnsapi/dns_namesilo.sh

    You'll need to open a bug report there, be sure to mention that it's on FreeBSD (pfSense)



  • Will do. Thanks