Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
If the Freeradius is configured to authenticate users via LDAP and TLS (with rlm_ldap module) it fails to start due to the following error on RHEL9:
...
TLS trace: SSL_accept:error in TLSv1.3 early data
TLS: can't accept: (unknown).
...
Version-Release number of selected component (if applicable):
freeradius-3.0.21-18.el9.x86_64
RHEL-9.0.0-20210725.3
openldap-servers-2.4.57-7.el9.x86_64
OpenSSL 3.0.0-beta1 17 Jun 2021 (Library: OpenSSL 3.0.0-beta1 17 Jun 2021)
Steps to Reproduce:
1. Configure openldap server with certificates and check if it is possible to do ldapsearch via TLS.
ldapsearch -H ldaps://dell-per430-27.gsslab.pek2.redhat.com -x '*'
(slapd.conf was attached)
TLSCipherSuite HIGH:MEDIUM:+SSLv2
TLSCACertificateFile /etc/openldap/certs/ca.pem
TLSCertificateFile /etc/openldap/certs/server-cert.pem
TLSCertificateKeyFile /etc/openldap/certs/server-key.pem
TLSVerifyClient demand
2. Install FR, generate def. certificates and configure FR to use ldap module.
3. Add attached certificates into tls section in /etc/radd/mods-available/ldap
...
tls {
ca_file = "/etc/raddb/certs/ldap-server-ca.pem"
certificate_file = "/etc/raddb/certs/ldap-client-cert.pem"
private_key_file = "/etc/raddb/certs/ldap-client-key.pem"
start_tls = no
require_cert = "allow"
...
4. radiusd -X
Actual results:
...
lm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (ldap): Connecting to ldap://$(hostname):636
61139ce8 slap_listener_activate(8):
61139ce8 >>> slap_listener(ldaps:///)
61139ce8 connection_get(18): got connid=1011
rlm_ldap (ldap): Waiting for bind result...
61139ce8 connection_read(18): checking for input on id=1011
rlm_ldap (ldap): Bind with (anonymous) to ldap://hostname:636 failed: Server is busy
TLS trace: SSL_accept:before SSL initialization
TLS trace: SSL_accept:before SSL initialization
rlm_ldap (ldap): Opening connection failed (0)
rlm_ldap (ldap): Removing connection pool
/etc/raddb/mods-enabled/ldap[8]: Instantiation failed for module "ldap"
Expected results:
radiusd should start
Additional info:
- used certificates were attached
- output from radiusd -X was attached
- output from slapd -d3 was attached
- this scenario works on RHEL8.5
- to reproduce this issue run TCMS test "freeradius-Sanity-freeradius-openldap-auth-test"
- legacy openssl provider was used
Providers:
default
name: OpenSSL Default Provider
version: 3.0.0
status: active
legacy
name: OpenSSL Legacy Provider
version: 3.0.0
status: active
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (new packages: freeradius), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:2371
Description of problem: If the Freeradius is configured to authenticate users via LDAP and TLS (with rlm_ldap module) it fails to start due to the following error on RHEL9: ... TLS trace: SSL_accept:error in TLSv1.3 early data TLS: can't accept: (unknown). ... Version-Release number of selected component (if applicable): freeradius-3.0.21-18.el9.x86_64 RHEL-9.0.0-20210725.3 openldap-servers-2.4.57-7.el9.x86_64 OpenSSL 3.0.0-beta1 17 Jun 2021 (Library: OpenSSL 3.0.0-beta1 17 Jun 2021) Steps to Reproduce: 1. Configure openldap server with certificates and check if it is possible to do ldapsearch via TLS. ldapsearch -H ldaps://dell-per430-27.gsslab.pek2.redhat.com -x '*' (slapd.conf was attached) TLSCipherSuite HIGH:MEDIUM:+SSLv2 TLSCACertificateFile /etc/openldap/certs/ca.pem TLSCertificateFile /etc/openldap/certs/server-cert.pem TLSCertificateKeyFile /etc/openldap/certs/server-key.pem TLSVerifyClient demand 2. Install FR, generate def. certificates and configure FR to use ldap module. 3. Add attached certificates into tls section in /etc/radd/mods-available/ldap ... tls { ca_file = "/etc/raddb/certs/ldap-server-ca.pem" certificate_file = "/etc/raddb/certs/ldap-client-cert.pem" private_key_file = "/etc/raddb/certs/ldap-client-key.pem" start_tls = no require_cert = "allow" ... 4. radiusd -X Actual results: ... lm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used rlm_ldap (ldap): Connecting to ldap://$(hostname):636 61139ce8 slap_listener_activate(8): 61139ce8 >>> slap_listener(ldaps:///) 61139ce8 connection_get(18): got connid=1011 rlm_ldap (ldap): Waiting for bind result... 61139ce8 connection_read(18): checking for input on id=1011 rlm_ldap (ldap): Bind with (anonymous) to ldap://hostname:636 failed: Server is busy TLS trace: SSL_accept:before SSL initialization TLS trace: SSL_accept:before SSL initialization rlm_ldap (ldap): Opening connection failed (0) rlm_ldap (ldap): Removing connection pool /etc/raddb/mods-enabled/ldap[8]: Instantiation failed for module "ldap" Expected results: radiusd should start Additional info: - used certificates were attached - output from radiusd -X was attached - output from slapd -d3 was attached - this scenario works on RHEL8.5 - to reproduce this issue run TCMS test "freeradius-Sanity-freeradius-openldap-auth-test" - legacy openssl provider was used Providers: default name: OpenSSL Default Provider version: 3.0.0 status: active legacy name: OpenSSL Legacy Provider version: 3.0.0 status: active