certutil: Use subject for default nicks (support importing cert bundles with -A)
Categories
(NSS :: Tools, enhancement, P5)
Tracking
(Not tracked)
People
(Reporter: minfrin, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
Steps to reproduce:
Attempt to load a certificate bundle into an NSS using certutil as follows:
certutil -d /etc/dirsrv/slapd-default/ -A -i /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
Actual results:
certutil -A: nickname is required for this command (-n).
As certificates are distributed as bundles of concatenated X509 certs, there is no practical way to import such a bundle into NSS.
Expected results:
All certificates imported successfully, using subject as nickname, as per p12util.
Comment 1•5 years ago
|
||
certutil
can always use more love; thanks for reporting this. We'd happily take a patch to address this via making the subject the default nick when unspecified!
Description
•