Error when saving DNS Resolver configuration
-
Hi All,
I am currently running Pfsense with the DNS Resolver feature.
I have noticed that Unbound has crashed and will not restart when trying to apply any configuration changes i receive the following error.The following input errors were detected:
The generated config file cannot be parsed by unbound. Please correct the following errors:
/var/unbound/test/unbound_server.pem: No such file or directory
[1580637057] unbound-checkconf[94278:0] fatal error: server-cert-file: "/var/unbound/test/unbound_server.pem" does not existI have tried so far.
Restarting Pfsense
Copying /var/unbound/unbound_server.pem to /var/unbound/test/
Updating Pfsense to the build 2.4.5-RC build.Updating to the 2.4.5-RC build did fix the issue for a little while however not for long.
Please let me know if you need any further info.
Thanks in advance. -
I should also note that manually starting unbound doesn't resolve the issue.
-
@gibbsy81 said in Error when saving DNS Resolver configuration:
unbound_server.pem
Search feature will help you :
https://forum.netgate.com/search?term=unbound_server.pem&in=titlesposts -
Thanks for your reply I have already looked through other threads on these forums and tried their solutions. Unfortunately they haven't worked either.
-
So you stop unbound, remove unbound_server.key, unbound_control.key, unbound_server.pem, unbound_control.pem, Save DNS Server settings, Apply
That should generate the files then start unbound. -
So your trying to get unbound to listen on TLS?
-
I had precisely the same problem. It occurred to me that /var/ was 100% full. A simple reboot cleared out /var/ and after that I could save and apply DNS Resolver again.