Actions
Bug #4323
closedndnsec cert-dump prints wrong certificate under same key
Start date:
Due date:
% Done:
100%
Estimated time:
1.00 h
Description
Steps to reproduce:
rm -rf ~/.ndn
ndnsec key-gen /root
ndnsec key-gen /sub > ~/sub.ndncertreq
ndnsec cert-gen -s /root ~/sub.ndncertreq > ~/sub.ndncert
ndnsec cert-install ~/sub.ndncert
ndnsec list -c
, record the two certificates under/sub
identityndnsec cert-dump
first certificate namendnsec cert-dump
second certificate name
Expected: step7 and step8 print different certificates
Actual: step7 and step8 print the same certificate
Observation: step7 and step8 both print the default certificate of the key, and the output would change if the other certificate is set as default
Actions