[Ndn-interest] How to use repo-ng?

Junxiao Shi shijunxiao at email.arizona.edu
Mon Oct 3 07:30:58 PDT 2016

Hi Matteo

Things to look for:

1. Are you able to fetch the certificate on node r with ndnpeek?
2. If yes, pipe the output to ndn-dissect. Does the Data packet look
correct? It should have the proper ContentType as a certificate.
3. Are there proper FIB entries from the node trying to fetch the
certificate to node r?

Yours, Junxiao

On Oct 3, 2016 02:43, "Matteo Bertolino" <Matteo.Bertolino at eurecom.fr>

> Good morning community,
> I would like to exploit repo-ng in order to distribute certificates.
> I tried, but I failed and I do not understand how to do.
> Supposing a topology in which I have a consumer, a producer and a root
> authority. The root authority sign the certificate of the producer,
> the consumer trust in the root authority. Suppose that the same node
> of the root authority distributes also the certificates. Consumer asks
> for /root/site1 data, p announced /root/site1 and r announced /root/KEY.
> Without repo and with an app publisher it works fine.
> My steps are:
> //Generation of the certification chain
> At the end, the root has the certificate of the producer
> "site1.ndncert" and its own (root.ndncert).
> //Modify repo-ng.conf
> 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.
> //Put the certificate
> I put the certificate site1.ndncert in the root folder and publisher
> folder.
> //Publish the certificate:
> r /home/bertolino/Desktop/miniNDN/mini-ndn/repo-ng/build/ndn-repo-ng &
> (where r is the root authority node)
> r base 64 -d site1.ndncert | nc localhost 7376
> Then, r receives the request for the interest /root/KEY/site1 etc but it
> is not able to satisfy it.
> In particular:
> Sending /root/site1?ndn.MustBeFresh=1&ndn.InterestLifetime=1000
> failedCannot fetch cert: /root/KEY/site1/ksk-1475484935283/ID-CERT
> Any help is particularly appreciated,
> Thank you very much,
> Yours Matteo
> ------------------------------------------------------------
> -------------------
> This message was sent using EURECOM Webmail: http://webmail.eurecom.fr
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20161003/5c5cee72/attachment.html>

More information about the Ndn-interest mailing list