<div dir="ltr"><div>Sorry for the late reply.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>I'm trying to deploy a CA but the instructions do not work.<br>Software version is <a href="https://github.com/Zhiyi-Zhang/ndncert/tree/3b9a2501d60e90ec33845e021a500a9820bf9050" target="_blank">https://github.com/Zhiyi-Zhang/ndncert/tree/3b9a2501d60e90ec33845e021a500a9820bf9050</a> with ndn-cxx 0.6.6.<br>The config file is written exactly as <a href="https://github.com/named-data/ndncert/wiki/NDNCERT-CA-Instructions#setup-ndn-testbed-ca" target="_blank">given in the instructions</a>.</blockquote><div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-family:monospace">sunny@sunny5:~/code/ndncert$ ndnsec-ls-identity<br></span><span style="font-family:monospace">* /example<br></span><span style="font-family:monospace">sunny@sunny5:~/code/ndncert$ cat ~/ndn.ca.conf<br></span><span style="font-family:monospace">{<br></span><span style="font-family:monospace">  "ca-list":<br></span><span style="font-family:monospace">  [<br></span><span style="font-family:monospace">    {<br></span><span style="font-family:monospace">        "ca-prefix": "/example",<br></span><span style="font-family:monospace">        "issuing-freshness": "720",<br></span><span style="font-family:monospace">        "validity-period": "360",<br></span><span style="font-family:monospace">        "ca-info": "My Personal CA",<br></span><span style="font-family:monospace">        "supported-challenges":<br></span><span style="font-family:monospace">        [<br></span><span style="font-family:monospace">            { "type": "PIN" }<br></span><span style="font-family:monospace">        ]<br></span><span style="font-family:monospace">    }<br></span><span style="font-family:monospace">  ]<br></span><span style="font-family:monospace">}<br></span><span style="font-family:monospace">sunny@sunny5:~/code/ndncert$ LD_LIBRARY_PATH=build build/bin/ndncert-ca-server -c ~/ndn.ca.conf<br></span><span style="font-family:monospace">terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::property_tree::ptree_bad_path> >'<br></span><span style="font-family:monospace">  what():  No such node (ca-prefix)<br></span><span style="font-family:monospace">Aborted (core dumped)</span></blockquote><div><span style="font-family:monospace"><br></span></div>Sorry, I should have updated the documentation earlier.</div><div>The config should be like: </div><div><span style="font-family:monospace">{<br></span><span style="font-family:monospace">        "ca-prefix": "/example",<br></span><span style="font-family:monospace">        "issuing-freshness": "720",<br></span><span style="font-family:monospace">        "validity-period": "360",<br></span><span style="font-family:monospace">        "ca-info": "My Personal CA",<br></span><span style="font-family:monospace">        "supported-challenges":<br></span><span style="font-family:monospace">        [<br></span><span style="font-family:monospace">            { "type": "PIN" }<br></span><span style="font-family:monospace">        ]</span></div><div><span style="font-family:monospace">}</span><br></div><div>We simplified the function of ndncert-ca-server. </div><div>Now if a node want to become the CA for multiple prefixes, multiple ndncert-ca-server should be started using different config files.</div><div>I will update the documentation now.<br><div><span style="font-family:monospace"><br></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 4, 2019 at 8:28 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Zhiyi</div><div><br></div><div>Can you merge the commit in ndn-cxx-0.6.6 compatible repository?</div><div><a href="https://github.com/Zhiyi-Zhang/ndncert" target="_blank">https://github.com/Zhiyi-Zhang/ndncert</a></div><div><br></div><div>Several of my nodes are using ndn-cxx installed from PPA, and they have to rely on this repository.<br></div></div></blockquote><div><br></div><div>Oh, you mean we should merge the code using the old APIs? I don't know whether other reviewers would agree.</div><div><br></div><div>Best,</div><div>Zhiyi</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>Yours, Junxiao<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 18, 2019 at 5:10 PM Zhiyi Zhang <<a href="mailto:zhiyi@cs.ucla.edu" target="_blank">zhiyi@cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Junxiao,<div><br></div><div>Thank you for the bug report. This will be fixed in commit: <a href="https://gerrit.named-data.net/c/ndncert/+/5775" target="_blank">https://gerrit.named-data.net/c/ndncert/+/5775</a></div><div><br></div><div>Best,</div><div>Zhiyi</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 18, 2019 at 11:58 AM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Zhiyi</div><div><br></div><div>Option 2 of the instructions says:</div><blockquote style="margin:0px 0px 0px 40px;border:medium none;padding:0px"><div>A second option is to send CA an Interest with name /ca/prefix/CA/_PROBE/INFO. To do so, a client can run the NDNCERT client and type in NONE in the CA selection step and then input the target CA prefix manually.</div></blockquote><div><br></div><div>However, this does not work:</div><div><font face="monospace">$ ndncert-client<br>Cannot load the configuration file: /usr/local/etc/ndncert/client.conf: cannot open file<br></font></div><div><br></div><div>After copying client.conf.sample to client.conf, it still doesn't work:</div><div><font face="monospace">$ ndncert-client<br></font></div><div><font face="monospace">***************************************<br>Index: 0<br>CA prefix:/example<br>Introduction: An example NDNCERT CA<br>***************************************<br>Step 0: Please type in the CA INDEX that you want to apply or type in NONE if your expected CA is not in the list<br>NONE<br>Step 1: Please type in the CA Name<br>Got NACK<br></font></div><div><br></div><div>The only thing I typed is "NONE". The "Got NACK" message appears before I'm given a chance to type anything.</div><div><br></div><div>ndn-cxx and NFD version is 0.6.6 installed from PPA.</div><div>Client software version is <a href="https://github.com/Zhiyi-Zhang/ndncert/tree/3b9a2501d60e90ec33845e021a500a9820bf9050" target="_blank">https://github.com/Zhiyi-Zhang/ndncert/tree/3b9a2501d60e90ec33845e021a500a9820bf9050</a></div><div><br></div><div>On the other hand, option 1 works, but it requires manual merging of JSON objects.</div><div><br></div><div>Yours, Junxiao</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 7, 2019 at 1:26 PM Zhiyi Zhang <<a href="mailto:zhiyi@cs.ucla.edu" target="_blank">zhiyi@cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Junxiao,<div><br></div><div>I updated the CA instructions document. The way to create client.conf is here: <a href="https://github.com/named-data/ndncert/wiki/NDNCERT-CA-Instructions#derive-client-configuration-from-ca-configuration" target="_blank">https://github.com/named-data/ndncert/wiki/NDNCERT-CA-Instructions#derive-client-configuration-from-ca-configuration</a></div><div><br></div><div><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div>
</blockquote></div></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div></div>