Bug 1807680
| Summary: | Error while starting helper "/usr/libexec/certmonger/scep-submit [...]": Argument list too long | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Graham Leggett <minfrin> |
| Component: | certmonger | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED WONTFIX | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.4 | CC: | kenyon, nalin, pcech, tapazogl |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-09-01 07:27:02 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
Graham Leggett
2020-02-26 22:40:30 UTC
It doesn't like something about /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem. It is intended to pass in just the certs required for validation and not an entire bundle of unrelated CAs. Not seeing how an incorrectly specified certificate could lead to "Argument list too long", especially when the argument consists of 140 characters? certmonger passes the value of -R as an environment variable and 200k is too big. This problem is related to https://bugzilla.redhat.com/show_bug.cgi?id=1808613. If an attempt is made to set the CA certificate bundle for the https connection using -R, this bundle overrides the CA certificate that is discovered through SCEP, and in turn breaks SCEP, unless by accident the two CA certs are the same. To fix this, we need a separate command line option that is used for https CA certificates (as well as options for specifying a cert and key for https, because it's incomplete not to). The second command line option must be passed by filename, not through the raw certificate in an environment variable, so that we can support large CA lists as well as directory paths. I'm not able to reproduce this on Fedora 34 with current certmonger, 0.79.14. I suppose its possible that some other SCEP-related change addressed this but I'm not sure. I used the reproducer steps, basically cut-n-paste, and was able to get a certificate. 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. |