Red Hat Bugzilla – Bug 817405
RFE: add option to have certmonger add IPA CA cert to NSS database
Last modified: 2014-05-15 09:28:28 EDT
+++ This bug was initially created as a clone of Bug #759545 +++
Description of problem:
It would be handy if ipa-getcert could have a option to fetch and install the IPA CA certificate into an NSS database when issuing a request.
This CA cert should be available locally in /etc/ipa/ca.crt for enrolled hosts or on the IPA server in /ipa/config/ca.crt (can be retrieved over HTTP).
--- Additional comment from firstname.lastname@example.org on 2011-12-02 15:02:15 EST ---
What would be the expected behavior in cases when the certificate and private key for a request were being stored in a flat file?
Most of the time the IPA CA certificate doesn't contain a friendlyName extension, so ipa-getcert would need to be told where the database is and which nickname to set for the CA certificate in the database. At that point, what's the advantage of having ipa-getcert or certmonger do it instead of running certutil?
--- Additional comment from email@example.com on 2011-12-02 15:27:35 EST ---
This would be for NSS databases only, flat file users are on their own.
The nickname format is '$REALM IPA CA'
ipa-getcert should already know the database location, right?
I think requested advantage is saving the user a step
You may be able to get away with documenting this in the man page.
--- Additional comment from firstname.lastname@example.org on 2011-12-03 13:17:25 EST ---
If it saves the step - great. Seems like an improvement to me that will save people time.
--- Additional comment from email@example.com on 2012-04-29 16:02:12 EDT ---
This step was not well documented in the manual procedure and users stumbled on it.
*** This bug has been marked as a duplicate of bug 767700 ***