<div dir="ltr"><div>Hi Adil</div><div><br></div>In Debian/Ubuntu systems, you are supposed to use .deb packages.<div>I currently publish NDN packages for Debian/Raspbian Stretch on <a href="https://dl.bintray.com/yoursunny/named-data/" target="_blank">https://dl.bintray.com/yoursunny/named-data/</a> . They are built with this script: <a href="https://github.com/yoursunny/docker-nfd/blob/84fe1469808cee601afde7d21e220e276d01ae9f/debuild.sh" target="_blank">https://github.com/yoursunny/docker-nfd/blob/84fe1469808cee601afde7d21e220e276d01ae9f/debuild.sh</a> .<br></div><div>If you need packages for Buster, I can build them for you next week. Do you need it for Pi2 or Pi3? Optimization flags are different.<br></div><div><br></div><div>Yours, Junxiao<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 24, 2019 at 10:49 PM Adil Hidayat Bin Rosli via Nfd-dev <<a href="mailto:nfd-dev@lists.cs.ucla.edu" target="_blank">nfd-dev@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div name="messageBodySection">
<div dir="auto">Hi all,<br>
<br>
I have a question regarding some certificate related errors that I got when starting the nfd (issuing the ‘nfd-start’).<br>
<br>
I am currently using a Raspberry Pi 2/3. Below are details of my OS:<br>
<br>
'lsb_release -a' output:<br>
 No LSB modules are available.<br>
 Distributor ID: Raspbian<br>
 Description: Raspbian GNU/Linux 10 (buster)<br>
 Release: 10<br>
 Codename: buster<br>
<br>
'uname -a' output:<br>
 Linux ndn1 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l GNU/Linux<br>
<br>
I’ve use the default settings in both ‘client.conf’ and ‘nfd.conf’ within the ‘/usr/local/etc/ndn/' folder.<br>
<br>
My question is, when I followed the installation guide and installed NFD (<a href="http://named-data.net/doc/NFD/current/INSTALL.html" target="_blank">http://named-data.net/doc/NFD/current/INSTALL.html</a>) on my Ubuntu desktop & server<br>
18.04.3 LTS and macOS High Sierra & macOS Mojave, everything was working fine. I was able to test ndnping etc. But on my Raspbian Buster, I got the following error (partial error output below):<br>
<br>
——————————<br>
1566699843.832553 FATAL: [nfd.Main] ../ndn-cxx/security/v2/key-chain.cpp(659): Throw in function prepareSignatureInfo<br>
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::security::v2::KeyChain::InvalidSigningInfoError> ><br>
std::exception::what: Signing identity `/localhost/operator` does not have a default certificate
<div dir="auto"><span>——————————</span><br>
<br>
I’ve tried configuring the NDN certificate by doing the following:<br>
 sudo mkdir -p /usr/local/etc/ndn/keys/<br>
 ndnsec-cert-dump -i /`whoami` > default.ndncert<br>
 sudo mv default.ndncert /usr/local/etc/ndn/keys/default.ndncert<br>
<br>
and adding the following configuration to my ‘nfd.conf’:<br>
———</div>
<div dir="auto"> certfile keys/default.ndncert<br>
<br>
 privileges ; set of privileges granted to this identity<br>
  {<br>
   faces<br>
   fib<br>
   cs<br>
   strategy-choice<br>
 }<br>
———</div>
<div dir="auto"><br>
<div dir="auto">but the problem still persist. My question is, is there any other configuration required as such problem did not occur in my Ubuntu and macOS installations.<br></div>
<div dir="auto"><br></div>
<div dir="auto">Best regards</div>
<div dir="auto">Adil - Malaysia</div><br>
</div></div></div></div></blockquote></div></div>