Running unbound-control from shell generates errors



  • 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?


  • Banned

    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…



  • 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…


Log in to reply