commit 2ead9f285890c2c4966e7d09ace5cd229e8629a4 from: Omar Polo date: Sat Feb 12 15:00:49 2022 UTC improve error message due to missing/unreadable cert/keys commit - 26975e661fd8f4ec442ec1e578ea9c8e5f13932f commit + 2ead9f285890c2c4966e7d09ace5cd229e8629a4 blob - 203ad5b679d92440271e77ec5a395b2bcf0efc01 blob + 129c367f6239135b129e9411497a734534ee058d --- kamid/parse.y +++ kamid/parse.y @@ -984,7 +984,7 @@ add_cert(const char *name, const char *path) set: if ((pki->cert = tls_load_file(path, &pki->certlen, NULL)) == NULL) - fatal(NULL); + fatal("can't open %s", path); } static void @@ -1010,7 +1010,7 @@ add_key(const char *name, const char *path) set: if ((pki->key = tls_load_file(path, &pki->keylen, NULL)) == NULL) - fatal(NULL); + fatal("can't open %s", path); } static struct kd_listen_conf *