Skip to content
Snippets Groups Projects
Commit 82a7203e authored by Petr Špaček's avatar Petr Špaček
Browse files

Merge branch 'prefill_fix' into 'master'

prefill: fix ca_file to actually expect file and not a directory

See merge request !578
parents 165891f5 b0209541
1 merge request!578prefill: fix ca_file to actually expect file and not a directory
Pipeline #36053 passed with warnings with stages
in 5 minutes and 50 seconds
......@@ -168,10 +168,7 @@ local function config_zone(zone_cfg)
if not zone_cfg.ca_file then
error('[prefill] option ca_file must point '
.. 'to a directory with CA certificates in PEM format')
else
local _, dir_obj = lfs.dir(zone_cfg.ca_file)
dir_obj:close()
.. 'to a file with CA certificate(s) in PEM format')
end
rz_ca_file = zone_cfg.ca_file
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment