Skip to content

Workaround broken openssl 3.5.7-1 on EL9#1962

Merged
ehelms merged 1 commit into
theforeman:masterfrom
ogajduse:fix-openssl-asn1-el9
Jul 7, 2026
Merged

Workaround broken openssl 3.5.7-1 on EL9#1962
ehelms merged 1 commit into
theforeman:masterfrom
ogajduse:fix-openssl-asn1-el9

Conversation

@ogajduse

@ogajduse ogajduse commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary

  • openssl-3.5.7-1.el9 has an ASN.1 regression: a clean EOF at an object boundary now raises ASN1_R_NOT_ENOUGH_DATA instead of succeeding. Breaks any TLS client relying on the old behavior (ansible uri module, dnf/rpm HTTPS fetches, etc.)
  • Confirmed hitting foreman-nightly-rpm-pipeline (theforeman CI), reproduced on CentOS Stream 9
  • Same fix shape as the prior libsemanage/RHEL-55414 workaround in this file: excludepkgs the broken NVR + force downgrade to last known-good build (openssl-3.5.5-3.el9, confirmed still present in current CentOS Stream 9 BaseOS repo)
  • Keep this workaround until the upstream fix (Do not raise NOT_ENOUGH_DATA on a clean EOF at an object boundary openssl/openssl#31818) merges and ships in a CentOS Stream 9 release, then revert

References

openssl-3.5.7-1.el9 has an ASN.1 regression (clean EOF at an object
boundary raises ASN1_R_NOT_ENOUGH_DATA instead of succeeding), which
breaks any TLS client relying on that behavior -- e.g. ansible's uri
module and dnf/rpm HTTPS fetches. Exclude the broken build and pin to
the last known-good NVR until the upstream fix (openssl/openssl#31818)
merges and ships in a CentOS Stream 9 release.

See: https://issues.redhat.com/browse/RHEL-192424
@ogajduse
ogajduse marked this pull request as ready for review July 7, 2026 14:15
@ehelms
ehelms merged commit 57f417c into theforeman:master Jul 7, 2026
7 of 8 checks passed
ehelms pushed a commit to theforeman/foreman-infra that referenced this pull request Jul 8, 2026
openssl-3.5.7-1 on EL9 breaks TLS handling (RHEL-192424). Exclude the
broken build via dnf.conf and force a downgrade to the last known-good
NVR, following the same approach used in forklift (theforeman/forklift#1962)
and foremanctl (theforeman/foremanctl#632).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ogajduse
ogajduse deleted the fix-openssl-asn1-el9 branch July 15, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants