<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 5, 2019 at 1:47 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><br><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="ltr"><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></div></blockquote><div><br></div><div>OK, I'll try.</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><span style="font-family:monospace"><br></span></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="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><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 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 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="ltr"><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="ltr"><div><br></div></div></blockquote></div></div></blockquote></div></blockquote></div></div></blockquote></div></div></blockquote><div>No, that's your personal repository and does not require reviews.</div></div></div></blockquote><div><br></div><div>Oh. You mean the patch on the client command-line tool. </div><div>Got it. I just merged it to my personal repo.</div><div><br></div><div>Best,</div><div>Zhiyi</div><div><br></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 class="gmail_quote"><div><br></div><div>Yours, Junxiao</div><div> </div></div></div>
</blockquote></div></div>