<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Hi Junxiao,
<div dir="auto"><br /></div>
<div dir="auto">Thank you very much for your reply. It would be really great if you could help to build the packages for Buster. I current use both Raspberry Pi 2 and 3. Also I have several Raspberry Pi 4 with me. </div>
<div dir="auto"><br /></div>
<div dir="auto">Best regards</div>
<div dir="auto">Adil</div>
</div>
</div>
<div name="messageReplySection">On 25 Aug 2019, 4:56 PM +0800, Junxiao Shi <shijunxiao@email.arizona.edu>, wrote:<br />
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<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 spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<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>
</blockquote>
</div>
</body>
</html>