[Ndn-interest] using ValidatorConfig
Jyoti Parwatikar
jp at wustl.edu
Fri Jan 15 10:21:08 PST 2016
Junxiao,
I am giving the full path.
-Jyoti
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
> directory.
> 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>
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20160115/e56af402/attachment.html>
More information about the Ndn-interest
mailing list