<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Junxiao,<br>
    <br>
    I am giving the full path.<br>
    <br>
    -Jyoti<br>
    <br>
    <div class="moz-cite-prefix">On 01/15/2016 12:17 PM, Junxiao Shi
      wrote:<br>
    </div>
    <blockquote
      cite="mid:2795B60D-3C1D-4FDF-8A02-A2B078244AEE@email.arizona.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      Hi Jyoti
      <div class=""><br class="">
      </div>
      <div class=""><a moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true"
                  href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a><br
                  class="">
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br class="">
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br>
  </body>
</html>