<div dir="ltr">Hi Matteo<div><br></div><div>The configuration is invalid.</div><div>According to <a href="http://named-data.net/doc/ndn-cxx/current/tutorials/security-validator-config.html#rules-in-general">http://named-data.net/doc/ndn-cxx/current/tutorials/security-validator-config.html#rules-in-general</a></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">A rule is either used to validate an interest packet or a data packet. This information is specified in the property <b>for</b>. Only two value can be specified: <b>data </b>and <b>interest</b>. A rule must have one and only one <b>for </b>property.</blockquote><div>But your checker does not have a <b>for </b>property.</div><div><br></div><div>An example configuration used in NFD-RIB can be found at <a href="https://github.com/named-data/NFD/blob/88f5f7392bf0844edaaef8e85101470b1bba0527/nfd.conf.sample.in#L262-L305">https://github.com/named-data/NFD/blob/88f5f7392bf0844edaaef8e85101470b1bba0527/nfd.conf.sample.in#L262-L305</a></div><div><br></div><div>Yours, Junxiao<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 10, 2016 at 6:27 AM, Matteo Bertolino <span dir="ltr"><<a href="mailto:Matteo.Bertolino@eurecom.fr" target="_blank">Matteo.Bertolino@eurecom.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Yes, the certificate is properly published. I can retrieve it, and if I use it to sign data all is OK. The problem is signing interests only..<br>
<br>
The error reason is: Packet cannot pass any checkers.<br></blockquote><div><br></div><div class="gmail_quote">On Fri, Oct 7, 2016 at 6:30 AM, Matteo Bertolino <span dir="ltr"><<a href="mailto:Matteo.Bertolino@eurecom.fr" target="_blank">Matteo.Bertolino@eurecom.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>rule<br>{<br>  id "p rule"<br>  checker<br>  {<br>    type hierarchical<br>    sig-type rsa-sha256<br>  }<br>}<br>trust-anchor<br>{<br>  type file<br>  file-name /tmp/p/root.ndncert<br>}<br><br></blockquote></div></div></div></div></div>