<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">Hi Matteo<br><br>What's the error reason passed to onInterestValidationFailed function?<br><br>Is the certificate properly published? In other words, can you retrieve the certificate by expressing an Interest using ndnpeel?<br><br>Yours, Junxiao</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:Matteo.Bertolino@eurecom.fr">Matteo Bertolino</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎10/‎7/‎2016 6:31</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:ndn-interest@lists.cs.ucla.edu">ndn-interest@lists.cs.ucla.edu</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">[Ndn-interest] How to verify an interest packet</span><br><br></div>Dear community,<br>I am having some problem in verifying an interest packet.<br>Specifically, the error is: Packet cannot pass any checkers.<br><br>A root authority signs the certificate of the sender of the interest<br><br>My file config is:<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>So it is very simple.<br>The sender of the interest, signs the interest in this way:<br>Name producerId("/root/site2"); ///test/site2/user2<br>m_keyChain.signByIdentity(interest, producerId);<br><br>While the content producer verifies it so:<br>void onInterest(const InterestFilter& filter, const Interest& interest)<br>{<br>m_validator->validate(interest, bind(&Producer::sendData, this, _1),<br>                           bind(&Producer::onInterestValidationFailed,  <br>this, _1, _2));<br>   }<br><br>The interest sent has the key included in the name, I noticed:<br>/root/site1/%00%00%01W%9F8%C4%11/%5Dl%F4%D2%8F%C5%D1%D6/%165%1B%01%01%1C0%07.%08%04root%08%03KEY%08%05site2%08%11ksk-1475844947720%08%07ID-CERT/%17%FD%01%0  <br>[...]<br><br>Do you notice any error?<br>Yours,<br>Matteo<br><br>-------------------------------------------------------------------------------<br>This message was sent using EURECOM Webmail: http://webmail.eurecom.fr<br><br><br>_______________________________________________<br>Ndn-interest mailing list<br>Ndn-interest@lists.cs.ucla.edu<br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<br></body></html>