detecting root.key file

Modster, Anthony Anthony.Modster at
Tue Jun 30 17:53:15 UTC 2020


Is there an API that can be used to detect if the root.key file is present ?

The API function ub_ctx_add_ta_file() does not indicate an error.

[1593468264] libunbound[29463:0] error: error opening file /usr/local/etc/unbound/root.key: No such file or directory
[1593468264] libunbound[29463:0] error: error reading trust-anchor-file: /usr/local/etc/unbound/root.key
[1593468264] libunbound[29463:0] error: validator: error in trustanchors config
[1593468264] libunbound[29463:0] error: validator: could not apply configuration settings.
[1593468264] libunbound[29463:0] error: module init for module validator failed

The API function ub_resolve() indicates "initialization failure" returned from ub_strerror()


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Unbound-users mailing list