Bug #4202
Updated by Junxiao Shi over 7 years ago
When I try to generate a certificate by signing a signing request using the ndnsec command line tools, I get the following error: `ERROR: subject name must be specified`. Steps to reproduce: ``` $ ndnsec key-gen /identity [...] $ ndnsec sign-req /identity > identity.signreq $ ndnsec cert-gen -s /another_identity -i ai identity.signreq ERROR: subject name must be specified General Usage [...] ``` Apparently, this error is caused by [the the check in `tools/ndnsec/cert-gen.cpp`](https://github.com/named-data/ndn-cxx/blob/35109a19d048365fda0a5efdb7c1525404a212a5/tools/ndnsec/cert-gen.cpp#L88) `tools/ndnsec/cert-gen.cpp`, line 88 - 93 which checks for a `subject-info` option. However, no such option is defined in the available options of the `cert-gen` command and neither is it used later on. Is this a relict from an earlier version or am I missing the purpose of the option? In case of the latter, what exactly do I have to provide here and how do I specify it?