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

    Running unbound-control from shell generates errors

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 3.6k 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.
    • J
      jrsphoto
      last edited by

      I've ssh'd into my PFSense 2.3.2 system, trying to debug some dns resolver domain override issues I'm having.  I tried typing

      [2.3.2-RELEASE][admin@firewall.myhome.net]/root: unbound-control status

      It responds with the following:

      1487929230] unbound-control[36604:0] warning: control-enable is 'no' in the config file.
      error: Error setting up SSL_CTX client key and cert
      34386131464:error:02001002:system library:fopen:No such file or directory:/builder/pfsense-232/tmp/FreeBSD-src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:398:fopen('/usr/local/etc/unbound/unbound_control.pem','r')
      34386131464:error:20074002:BIO routines:FILE_CTRL:system lib:/builder/pfsense-232/tmp/FreeBSD-src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:400:
      34386131464:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:/builder/pfsense-232/tmp/FreeBSD-src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_rsa.c:687:

      Seems like somethings broke…

      Can anyone else confirm this, or is it just me?

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        unbound-control -c /var/unbound/unbound.conf status
        version: 1.6.0
        verbosity: 1
        threads: 2
        modules: 2 [ validator iterator ]
        uptime: 2170 seconds
        options: control(ssl)
        unbound (pid 32249) is running…

        1 Reply Last reply Reply Quote 0
        • J
          jrsphoto
          last edited by

          Look at that, the first entry under options in the help screen.  Ug, when will I learn to actually read those screens when they flash by my eyes…

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