<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Junxiao,<br>
<br>
I just got back to working on this.<br>
I suspect my certificate is probably incorrect. When I step through
the code, it is failing to create the IdentityCertificate from the
file in ndn::security::conf::CheckerFactory::getSigner(const
ConfigSection&, const string&) <br>
I can see it read in from the configuration file and it's reading
the other parameters fine. It's failing when it hits the creation of
the signer in the checker.<br>
<br>
The process is run as me. And the certificate file has permission
644. <br>
First line of certificate file:
Bv0C1QczCAV3dXN0bAgDS0VZCBFkc2stMTQ1Mjg3Mjk2ODQ2OAgHSUQtQ0VSVAgJ<br>
<br>
My configuration file:<br>
rule<br>
{<br>
id "h1x1 data rule"<br>
for data<br>
filter<br>
{<br>
type name<br>
name /wustl/CHRONOLOG<br>
relation is-prefix-of<br>
}<br>
checker<br>
{<br>
type fixed-signer<br>
sig-type rsa-sha256<br>
signer<br>
{<br>
type file<br>
file-name "/users/jp/ndn/JPChronolog/cfg-files/wustl.cert"<br>
}<br>
}<br>
}<br>
<br>
-Jyoti<br>
<br>
<br>
<div class="moz-cite-prefix">On 01/15/2016 12:20 PM, Junxiao Shi
wrote:<br>
</div>
<blockquote
cite="mid:EA870886-01D7-4E4E-B355-796BD048F91B@email.arizona.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Hi Jyoti
<div class=""><br class="">
</div>
<div class="">
<div class="">If giving the full path still doesn’t work,
reply-all with the following:</div>
<div class="">
<ul class="MailOutline">
<li class="">the complete ValidatorConfig configuration</li>
<li class="">the code snippet that loads the configuration;
in particular, is it loaded from a file or from a string</li>
<li class="">the full path of your certificate file</li>
<li class="">the first line of your certificate file (this
helps determining whether you have the correct format in
the certificate file)</li>
<li class="">what is the current working directory</li>
<li class="">what is the effective uid of the running
program, and what Unix permissions does this uid have on
the certificate file</li>
</ul>
</div>
<div class=""><br class="">
</div>
<div class="">Yours, Junxiao</div>
<div class=""><br class="">
</div>
<div>
<blockquote type="cite" class="">
<div class="">On Jan 15, 2016, at 11:21 AM, Jyoti Parwatikar
<<a moz-do-not-send="true" href="mailto:jp@wustl.edu"
class="">jp@wustl.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class=""> Junxiao,<br
class="">
<br class="">
I am giving the full path.<br class="">
<br class="">
-Jyoti<br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<br>
</body>
</html>