[Nfd-dev] certificate for interacting with NDN testbed

Nikos Fotiou fotiou at aueb.gr
Thu Jun 2 17:27:44 PDT 2022


Hi,



Everything is now updated to the latest version from source. I am receiving 
the certificate but ndncert-client crashes with the following error:



terminate called after throwing an instance of 
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> 
 >'

  what():  Cannot parse replied certificate

Aborted (core dumped)



Best,

Nikos

From: Junxiao Shi <shijunxiao at email.arizona.edu>
Sent: Friday, June 3, 2022 3:11 AM
To: Nikos Fotiou <fotiou at aueb.gr>
Cc: Tianyuan Yu <tianyuan at cs.ucla.edu>; <nfd-dev at lists.cs.ucla.edu> 
<nfd-dev at lists.cs.ucla.edu>
Subject: Re: [Nfd-dev] certificate for interacting with NDN testbed



Hi Nikos



There has been a packet format change related to ForwardingHint and 
Delegation.

Your ndn-cxx, NFD, and ndncert versions are incompatible, which causes 
decoding error.



Please install all from https://nfd-nightly.ndn.today or all from latest 
source code.

Do not mix different versions.

See NFD-nightly instructions for how to switch between installation methods.



Yours, Junxiao

On Thu, Jun 2, 2022, 20:04 Nikos Fotiou via Nfd-dev <nfd-dev at lists.cs.ucla.edu 
<mailto:nfd-dev at lists.cs.ucla.edu> > wrote:

I found it.



I can see the challenge in the log file. I enter the correct challenge and 
then ndncert-client outputs:



>> Certificate has already been issued, downloading certificate...

>> Interest timeout



In the nfd output I see the following:



1654214277.802105 DEBUG: [nfd.Forwarder] onOutgoingData out=266 
data=/ndn/gr/edu/mmlab1/CA/CHALLENGE/%81Qf%7B%0Cz%00%F4/params-sha256=522d0d7207cb11ac2a5fbd120473a39154326781b0bc74f487c8a4b1becbc7c9/%16M%1B%01%03%1CH%07F%08%03ndn%08%02gr%08%03edu%08%06mmlab1%08%04aueb%08%09second-14%08%03KEY%08%087%9EV%27%08%C2C2%08%04self6%08%00%00%01%81%26%CF%E4%A3/%17F0D%02%20gW%11%95Y%603%17%17%9EB%8BN%7D%B1v%D6%C9%9D%3E~%89%EF%14%5D%82%EF%A5%207R%E4%02%20p%B3%0A%5B%E9%E3%00Q%E14%8B%21%0C%D2kzz%D3%90%85j%EA%A7%E5SRGS%18%C9%3B%DA

1654214277.805087  WARN: [nfd.GenericLinkService] 
[id=266,local=unix:///run/nfd.sock,remote=fd://33] packet parse error 
(Unexpected TLV-TYPE 7 while decoding Delegation): DROP

1654214277.805351 DEBUG: [nfd.Forwarder] onInterestFinalize 
interest=/ndn/gr/edu/mmlab1/CA/CHALLENGE/%81Qf%7B%0Cz%00%F4/params-sha256=522d0d7207cb11ac2a5fbd120473a39154326781b0bc74f487c8a4b1becbc7c9/%16M%1B%01%03%1CH%07F%08%03ndn%08%02gr%08%03edu%08%06mmlab1%08%04aueb%08%09second-14%08%03KEY%08%087%9EV%27%08%C2C2%08%04self6%08%00%00%01%81%26%CF%E4%A3/%17F0D%02%20gW%11%95Y%603%17%17%9EB%8BN%7D%B1v%D6%C9%9D%3E~%89%EF%14%5D%82%EF%A5%207R%E4%02%20p%B3%0A%5B%E9%E3%00Q%E14%8B%21%0C%D2kzz%D3%90%85j%EA%A7%E5SRGS%18%C9%3B%DA 
satisfied

Any clue?



Thanks,

Nikos



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20220603/1e463725/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6501 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20220603/1e463725/attachment.p7s>


More information about the Nfd-dev mailing list