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

Bug 816236

Summary: permission setting of system certs can fail in clone installation if nicknames are changed
Product: [Retired] Dogtag Certificate System Reporter: Ade Lee <alee>
Component: Installation WizardAssignee: Ade Lee <alee>
Status: CLOSED EOL QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: mharmsen, nkinder
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 18:35:51 UTC Type: Bug
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: 530474    

Description Ade Lee 2012-04-25 15:15:36 UTC
Description of problem:

In RestoreKeyCertPanel.java , we have the following code to set the trusts on certs that are installed in a clone.  This is wrong because the nicknames may be changes and may not start with the indicated phrases.

if (name.startsWith("caSigningCert")) {
     // we need to change the trust attribute to CT
     InternalCertificate icert = (InternalCertificate) xcert;
     icert.setSSLTrust(InternalCertificate.TRUSTED_CA
                       | InternalCertificate.TRUSTED_CLIENT_CA
                       | InternalCertificate.VALID_CA);
} else if (name.startsWith("auditSigningCert")) {
     InternalCertificate icert = (InternalCertificate) xcert;
     icert.setObjectSigningTrust(InternalCertificate.USER
                                | InternalCertificate.VALID_PEER            
                                | InternalCertificate.TRUSTED_PEER);
}

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info: