Skip to content

[defect]:Self-signed certificate authority to access the sqlradius database. #5659

@amagerard

Description

@amagerard

What type of defect/bug is this?

Crash or memory corruption (segv, abort, etc...)

How can the issue be reproduced?

Modules sql and ldap.
SQL queries or ldap with a self-signed certificate authority of type rsa no longer work after release openssl-3.0.7-27 el9 .

https://github.com/amagerard/Freeradius/wiki/04InstanceDefault
4.3 Create a self-signed certificate.

I am preparing freeradius 3.2.8 with Redhat 10 and I still encounter the same problem.
I chose the workaround of creating the CA with almalinux version 9.4. only for sql or ldap.

Log output from the FreeRADIUS daemon

radiusd -d /etc/freeradius-sql -l /var/log/freeradius-sql/radius.log -X
 rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
Sat Oct 18 20:54:04 2025 : Info: rlm_sql_mysql: libmysql version: 3.4.7
Sat Oct 18 20:54:04 2025 : Info: rlm_sql (sql): Attempting to connect to database "sqlradius"
Sat Oct 18 20:54:04 2025 : Error: rlm_sql_mysql: Couldn't connect to MySQL server admsql@daloradius.ol26modk.com:sqlradius
Sat Oct 18 20:54:04 2025 : Error: rlm_sql_mysql: MySQL error: TLS/SSL error:

Relevant log output from client utilities

No response

Backtrace from LLDB or GDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectcategory: a defect or misbehaviour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions