[Nfd-dev] Question on error - `/localhost/operator` does not have a default certificate’

Adil Hidayat Bin Rosli adil.hidayat at gmail.com
Sat Aug 24 19:49:03 PDT 2019


Hi all,

I have a question regarding some certificate related errors that I got when starting the nfd (issuing the ‘nfd-start’).

I am currently using a Raspberry Pi 2/3. Below are details of my OS:

'lsb_release -a' output:
 No LSB modules are available.
 Distributor ID: Raspbian
 Description: Raspbian GNU/Linux 10 (buster)
 Release: 10
 Codename: buster

'uname -a' output:
 Linux ndn1 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l GNU/Linux

I’ve use the default settings in both ‘client.conf’ and ‘nfd.conf’ within the ‘/usr/local/etc/ndn/' folder.

My question is, when I followed the installation guide and installed NFD (http://named-data.net/doc/NFD/current/INSTALL.html) on my Ubuntu desktop & server
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):

——————————
1566699843.832553 FATAL: [nfd.Main] ../ndn-cxx/security/v2/key-chain.cpp(659): Throw in function prepareSignatureInfo
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::security::v2::KeyChain::InvalidSigningInfoError> >
std::exception::what: Signing identity `/localhost/operator` does not have a default certificate
——————————

I’ve tried configuring the NDN certificate by doing the following:
 sudo mkdir -p /usr/local/etc/ndn/keys/
 ndnsec-cert-dump -i /`whoami` > default.ndncert
 sudo mv default.ndncert /usr/local/etc/ndn/keys/default.ndncert

and adding the following configuration to my ‘nfd.conf’:
———
 certfile keys/default.ndncert

 privileges ; set of privileges granted to this identity
  {
   faces
   fib
   cs
   strategy-choice
 }
———

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.

Best regards
Adil - Malaysia

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20190825/f4157f26/attachment.html>


More information about the Nfd-dev mailing list