Bug 759545 - RFE: add option to have certmonger add IPA CA cert to NSS database
Summary: RFE: add option to have certmonger add IPA CA cert to NSS database
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: certmonger
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 767700 817405 1098208
TreeView+ depends on / blocked
 
Reported: 2011-12-02 16:27 UTC by Rob Crittenden
Modified: 2014-09-19 10:17 UTC (History)
3 users (show)

Fixed In Version: certmonger-0.75.14-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 767700 817405 (view as bug list)
Environment:
Last Closed: 2014-09-12 03:50:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rob Crittenden 2011-12-02 16:27:06 UTC
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).

Comment 1 Nalin Dahyabhai 2011-12-02 20:02:15 UTC
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?

Comment 2 Rob Crittenden 2011-12-02 20:27:35 UTC
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.

Comment 3 Dmitri Pal 2011-12-03 18:17:25 UTC
If it saves the step - great. Seems like an improvement to me that will save people time.

Comment 4 Dmitri Pal 2012-04-29 20:02:12 UTC
This step was not well documented in the manual procedure and users stumbled on it.

Comment 5 Fedora End Of Life 2012-08-07 17:28:00 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Rob Crittenden 2012-08-08 14:12:33 UTC
re-opening

Comment 7 Nalin Dahyabhai 2014-09-03 19:02:17 UTC
This should be more or less sorted in 0.75.x, with getcert's -a and -F flags, and more broadly via the "root-cert-files" and "root-cert-nssdbs" and related properties on both enrollment requests and on CAs.

Comment 8 Fedora Update System 2014-09-03 19:05:31 UTC
certmonger-0.75.14-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/certmonger-0.75.14-1.fc21

Comment 9 Fedora Update System 2014-09-03 19:05:37 UTC
certmonger-0.75.14-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/certmonger-0.75.14-1.fc20

Comment 10 Fedora Update System 2014-09-06 00:57:09 UTC
Package certmonger-0.75.14-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing certmonger-0.75.14-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-10127/certmonger-0.75.14-1.fc21
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2014-09-12 03:50:15 UTC
certmonger-0.75.14-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-09-19 10:17:19 UTC
certmonger-0.75.14-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.