Bug 1933349
| Summary: | ipa-cert-fix command failed exception IOError No such file or directory /etc/pki/pki-tomcat/certs/ca_ocsp_signing.crt [RHEL 7.9.z] | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Marc Sauton <msauton> | |
| Component: | pki-core | Assignee: | RHCS Maintainers <rhcs-maint> | |
| Status: | CLOSED MIGRATED | QA Contact: | idm-cs-qe-bugs | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 7.9 | CC: | frenaud, jabsher, mharmsen, rcritten, tmihinto, tscherf, vvanhaft, wrydberg | |
| Target Milestone: | beta | Keywords: | MigratedToJIRA, Triaged | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2168482 (view as bug list) | Environment: | ||
| Last Closed: | 2023-09-19 12:57: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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2168482 | |||
|
Description
Marc Sauton
2021-02-26 19:03:43 UTC
(In reply to Marc Sauton from comment #0) > I may have missed something, could not locate what is populating the > /etc/pki/pki-tomcat/certs/{}.crt the logic behind, nor find out why the .crt > are missing > I seem to only see in ./freeipa-4.6.8/ipaserver/install/ipa_cert_fix.py , > use like: > cert = x509.load_certificate_from_file(cert_path) > cert_path = "/etc/pki/pki-tomcat/certs/{}-renewed.crt" \ > > and copy and install of the cert file, not many traces of the .crt files. > Hi Marc, ipa-cert-fix is working as follows: 1. it gathers a list of expired certs that need to be renewed. The list can contain pki system certificates as well as the RA cert, HTTP, LDAP or KDC cert. 2. it calls "pki-server cert-fix" with the list of certs (--cert for the pki system certificates, --extra-cert for the other ones) 3. pki-server cert-fix renews the certs, and writes the new certs in /etc/pki/pki-tomcat/certs/xxx 4. ipa-cert-fix takes the new certs from their file location and puts them in the appropriate database. Here pki-server cert-fix exits on error (this needs to be investigated) but ipa-cert-fix does not properly process the return code =1 (this is a known issue, https://bugzilla.redhat.com/show_bug.cgi?id=1779984). I'm moving this issue to pki as the initial issue is pki-server cert-fix failing to renew the subsystem cert. Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |