[Ndn-interest] using ValidatorConfig
jp at wustl.edu
Fri Jan 15 10:21:08 PST 2016
I am giving the full path.
On 01/15/2016 12:17 PM, Junxiao Shi wrote:
> Hi Jyoti
> ValidatorConfig documentation
> <http://named-data.net/doc/ndn-cxx/current/tutorials/security-validator-config.html#fixed-signer-checker> is
> vague about whether a relative path in file-name field is resolved
> against the location of the configuration file or the current working
> Can you try specifying the full path in file-name field?
> If it still doesn’t work, reply-all with the following:
> * the complete ValidatorConfig configuration
> * the code snippet that loads the configuration; in particular, is
> it loaded from a file or from a string
> * the full path of your certificate file
> * the first line of your certificate file (this helps determining
> whether you have the correct format in the certificate file)
> * what is the current working directory
> * what is the effective uid of the running program, and what Unix
> permissions does this uid have on the certificate file
> Yours, Junxiao
>> On Jan 15, 2016, at 9:20 AM, Jyoti Parwatikar <jp at wustl.edu
>> <mailto:jp at wustl.edu>> wrote:
>> I'm trying to create a validator using ValidatorConfig. In my
>> configuration file, my checker is a fixed signer with type file.
>> The filename I give is of a file I created by creating a data key
>> using ndnsec-key-gen followed by ndnsec-cert-gen and directing the
>> output to a file.
>> When I try to load the file with a ValidatorConfig instance, I get
>> the following error
>> Cannot read certificate from file:
>> Does anyone have any ideas what I am doing wrong?
>> -Jyoti Parwatikar
>> Ndn-interest mailing list
>> Ndn-interest at lists.cs.ucla.edu <mailto:Ndn-interest at lists.cs.ucla.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest