<p dir="ltr">Hi Matteo</p>
<p dir="ltr">Things to look for:</p>
<p dir="ltr">1. Are you able to fetch the certificate on node r with ndnpeek?<br>
2. If yes, pipe the output to ndn-dissect. Does the Data packet look correct? It should have the proper ContentType as a certificate.<br>
3. Are there proper FIB entries from the node trying to fetch the certificate to node r?</p>
<p dir="ltr">Yours, Junxiao</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Oct 3, 2016 02:43, "Matteo Bertolino" <<a href="mailto:Matteo.Bertolino@eurecom.fr">Matteo.Bertolino@eurecom.fr</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good morning community,<br>
I would like to exploit repo-ng in order to distribute certificates.<br>
<br>
I tried, but I failed and I do not understand how to do.<br>
<br>
Supposing a topology in which I have a consumer, a producer and a root<br>
authority. The root authority sign the certificate of the producer,<br>
the consumer trust in the root authority. Suppose that the same node<br>
of the root authority distributes also the certificates. Consumer asks<br>
for /root/site1 data, p announced /root/site1 and r announced /root/KEY.<br>
<br>
Without repo and with an app publisher it works fine.<br>
<br>
My steps are:<br>
<br>
//Generation of the certification chain<br>
At the end, the root has the certificate of the producer<br>
"site1.ndncert" and its own (root.ndncert).<br>
<br>
//Modify repo-ng.conf<br>
Actually I have no idea how to do. I just modified the prefixes in "/root/KEY", and I put the config file in /usr/local/etc/ndn and /etc/ndn folders. I attached it.<br>
<br>
//Put the certificate<br>
I put the certificate site1.ndncert in the root folder and publisher folder.<br>
<br>
//Publish the certificate:<br>
r /home/bertolino/Desktop/miniND<wbr>N/mini-ndn/repo-ng/build/ndn-<wbr>repo-ng &<br>
(where r is the root authority node)<br>
<br>
r base 64 -d site1.ndncert | nc localhost 7376<br>
<br>
Then, r receives the request for the interest /root/KEY/site1 etc but it is not able to satisfy it.<br>
In particular:<br>
Sending /root/site1?ndn.MustBeFresh=1&<wbr>ndn.InterestLifetime=1000<br>
failedCannot fetch cert: /root/KEY/site1/ksk-1475484935<wbr>283/ID-CERT<br>
<br>
Any help is particularly appreciated,<br>
Thank you very much,<br>
Yours Matteo<br>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-------------------<br>
This message was sent using EURECOM Webmail: <a href="http://webmail.eurecom.fr" rel="noreferrer" target="_blank">http://webmail.eurecom.fr</a><br>
<br>
<br>______________________________<wbr>_________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndn-interest</a><br>
<br></blockquote></div></div>