Skip to content

[defect]: Unable to start FreeRadius server due to missing OpenSSL legacy provider #5644

@MatejVavkanEricsson

Description

@MatejVavkanEricsson

What type of defect/bug is this?

Unexpected behaviour (obvious or verified by project member)

How can the issue be reproduced?

The issue can be seen when FreeRadius is started with OpenSSL v3.2.4 that is build without enabled legacy provider.

Due to security reasons we are unable to include legacy provider in our build of OpenSSL library.
So we wanted to ask if there is a way of resolving this issue.

From our perspective the best way to resolve this issue is to have a build/run option to skip this check:
/* * Needed for MD4 * * https://www.openssl.org/docs/man3.0/man7/migration_guide.html#Legacy-Algorithms */ openssl_legacy_provider = OSSL_PROVIDER_load(NULL, "legacy"); if (!openssl_legacy_provider) { ERROR("(TLS) Failed loading legacy provider"); return -1; }

Since we are using only EAP-TLS for authentication we wanted to raise a question if there is even a need to have this MD4 algorithm available?
We are willing to contribute in creating a patch based on your approved solution.

Best regards.

Log output from the FreeRADIUS daemon

FreeRADIUS Version 3.2.7
Copyright (C) 1999-2023 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
(TLS) Failed loading legacy provider

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