Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 439027

Summary: Cannot add certificate through console GUI
Product: [Retired] Dogtag Certificate System Reporter: David Stutzman <david.k.stutzman2.ctr>
Component: ConsoleAssignee: Andrew Wnuk <awnuk>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: low Docs Contact:
Priority: medium    
Version: 1.0CC: benl, blord, dpal, tao
Target Milestone: 1.0   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-22 23:27:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 443788    
Attachments:
Description Flags
Proposed fix to inability to add CA certificate through console UI
none
spec file diff
none
spec file diff none

Description David Stutzman 2008-03-26 16:06:14 UTC
Description of problem:


Version-Release number of selected component (if applicable):
pki-console-ui-1.0.0-1.fc8
idm-console-framework-1.1.1-1.fc8
pki-console-1.0.0-1.fc8

How reproducible:
Always

Steps to Reproduce:
1. Open console and login to CA
2. Go to System Keys and Certificates
3. Go to CA Certificates tab and click Add
4. Click Next on first screen of Wizard
5. Select Trusted cert chain (I want to add another sub ca to the same root that
issued *this* CAs signing certificate so I can continue to use the same agent
cert for authentication as on the rest of our CAs) and click next
6. put in filename to certificate and click next
7. confirm certificate "pretty printed" on next screen and click next
8. Error is displayed
  
Actual results:
Box with the following message is displayed:
"UNKOWNEXCEPTION-java.util.MissingResourceException: Can't find resource for
bundle com.netscape.admin.certsrv.CMSAdminResources, key UNKNOWNEXCEPTION" with
OK button, after I click OK button I get another box that says "Error" in
titlebar that has no text on it and another OK button.  After clicking OK button
I am left with the "pretty printed" cert as in step 7 above.  If I click next
again I get the same error messages.

Expected results:
The cert is imported

Additional info:
Workaround: using certutil to manually import into certdb:
1. cd /var/lib/pki-ca/alias (directory depends on naming when installing)
2. certutil -A -n nickname-for-cert -t "T,c,c" -i /path/to-cert.crt -d .

Comment 1 Andrew Wnuk 2008-04-17 19:52:21 UTC
Created attachment 302791 [details]
Proposed fix to inability to add CA certificate through console UI

Comment 2 Andrew Wnuk 2008-04-17 21:10:45 UTC
Created attachment 302811 [details]
spec file diff

Comment 3 Matthew Harmsen 2008-04-17 21:26:33 UTC
attachment (id=302791) +mharmsen

attachment (id=302811) +mharmsen
Change:
+* Wed Apr 17 2008 Andrew Wnuk <awnuk> 1.0.0-2
to:
+* Thu Apr 17 2008 Andrew Wnuk <awnuk> 1.0.0-3

Comment 4 Andrew Wnuk 2008-04-17 21:39:53 UTC
Created attachment 302819 [details]
spec file diff

Comment 5 Andrew Wnuk 2008-04-17 22:00:08 UTC
svn commit pki-console.spec
Sending        pki-console.spec
Transmitting file data .
Committed revision 24.

svn commit AdminConnection.java
Sending        AdminConnection.java
Transmitting file data .
Committed revision 26.


Comment 6 Chandrasekar Kannan 2008-08-27 00:27:15 UTC
Bug already MODIFIED. setting target CS8.0 and marking screened+

Comment 7 Andrew Wnuk 2008-10-06 16:55:55 UTC
*** Bug 449856 has been marked as a duplicate of this bug. ***