Bug 1729215
Summary: | cert-fix : detect and prevent pkidbuser being used as --agent-uid | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Geetika Kapoor <gkapoor> |
Component: | pki-core | Assignee: | RHCS Maintainers <rhcs-maint> |
Status: | CLOSED WONTFIX | QA Contact: | PKI QE <bugzilla-pkiqe> |
Severity: | unspecified | Docs Contact: | Florian Delehaye <fdelehay> |
Priority: | unspecified | ||
Version: | 8.1 | CC: | aakkiang, ascheel, edewata, fhanzelk, mharmsen, rhcs-maint |
Target Milestone: | rc | Keywords: | TestCaseProvided, Triaged |
Target Release: | 8.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pki-core-10.6-8010020190723222539.8ba0ffbe | Doc Type: | Known Issue |
Doc Text: |
.Using the `cert-fix` utility with the `--agent-uid pkidbuser` option breaks Certificate System
Using the `cert-fix` utility with the `--agent-uid pkidbuser` option corrupts the LDAP configuration of Certificate System. As a consequence, Certificate System might become unstable and manual steps are required to recover the system.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-01 07:42:06 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: |
Description
Geetika Kapoor
2019-07-11 15:29:13 UTC
Fixed via PR: https://github.com/dogtagpki/pki/pull/229 verification procedure: As mentioned by OP Acceptance criteria: # pki-server cert-fix --agent-uid pkidbuser -i pkitest ERROR: 'pkidbuser' cannot be used. This currently works based on checking for a particular username which is pkidbuser. if while configuring we change the default value of pkidbuser which we can set using : pki_share_dbuser_dn=uid=pkidbuser,ou=people,o=%(pki_instance_name)s-CA AS a user if i have configured with pkidbuser1. this fix will no longer works. IMO in place of just looking for a particular user in code it's better to check based on group permissions for that user. @Geetika, The current solution will reduce the chances of messing up the PKI/IPA environment. Your suggestion may require more analysis before implementation. Since we have it documented, that `pkidbuser` should not be used, I am leaning towards moving the efforts to 8.2 or 8.3. @Marc, Thanks for looking into this. I have some minor corrections as below: .Using the `cert-fix` utility with the `--agent-uid pkidbuser` option breaks Certificate System Using the `cert-fix` utility with the `--agent-uid pkidbuser` option corrupts the LDAP configuration. As a consequence, Certificate System might be rendered unstable and manual steps will be required to recover the system. We have documented this bug as an exception. should we keep it for fixing it in future or close this and raise a new bug. We can't have assigned bug in Errata i think. Please suggest? Not RPL, not CVE, no customer case information, not regression (e.g. - fixed in an earlier release of the product); moving to RHEL Backlog. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. A separate RFE should be filed for preventing other names for pkidbuser from being used here, if this is still an issue. |