Task #1484
Updated by Yingdi Yu over 11 years ago
When signee's namespace is not under signer's, ndnsec cert-gen should still output an certificate.
The `KEY` component in the certificate name is moved to the end of the signee's namespace. (Right now, cert-gen will reject signing)
If signer's default certificate does not exist, ndnsec cert-gen should generate a self-signed certificate for signer and use it to generate signee's certificate. (Right now, cert-gen will reject signing)
If `-s sign-id` is not specified, the system default key will be used to sign the generated certificate.