<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Jyoti<div class=""><br class=""></div><div class=""><a href="http://named-data.net/doc/ndn-cxx/current/tutorials/security-validator-config.html#fixed-signer-checker" class="">ValidatorConfig documentation</a> is vague about whether a relative path in file-name field is resolved against the location of the configuration file or the current working directory.</div><div class="">Can you try specifying the full path in file-name field?</div><div class=""><br class=""></div><div class="">If it still doesn’t work, reply-all with the following:</div><div class=""><ul class="MailOutline"><li class="">the complete ValidatorConfig configuration</li><li class="">the code snippet that loads the configuration; in particular, is it loaded from a file or from a string</li><li class="">the full path of your certificate file</li><li class="">the first line of your certificate file (this helps determining whether you have the correct format in the certificate file)</li><li class="">what is the current working directory</li><li class="">what is the effective uid of the running program, and what Unix permissions does this uid have on the certificate file</li></ul></div><div class=""><br class=""></div><div class="">Yours, Junxiao</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 15, 2016, at 9:20 AM, Jyoti Parwatikar <<a href="mailto:jp@wustl.edu" class="">jp@wustl.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">I'm trying to create a validator using ValidatorConfig. In my configuration file, my checker is a fixed signer with type file.<br class=""><br class="">The filename I give is of a file I created by creating a data key using ndnsec-key-gen followed by ndnsec-cert-gen and directing the output to a file.<br class=""><br class="">When I try to load the file with a ValidatorConfig instance, I get the following error<br class=""><br class=""> Cannot read certificate from file:<br class=""><br class="">Does anyone have any ideas what I am doing wrong?<br class=""><br class="">-Jyoti Parwatikar<br class="">_______________________________________________<br class="">Ndn-interest mailing list<br class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<br class=""></div></div></blockquote></div><br class=""></div></body></html>