Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Script Error in DNS-Namesilo method

    Scheduled Pinned Locked Moved ACME
    3 Posts 2 Posters 978 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nguoidien
      last edited by nguoidien

      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

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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)

        Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • N
          nguoidien
          last edited by

          Will do. Thanks

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.