<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<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">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 style="caret-color: rgb(39, 39, 40);">——————————</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>
<div dir="auto"><br /></div>
</div>
</div>
</div>
</body>
</html>