TLS failed loading legacy provider

Alan DeKok aland at deployingradius.com
Thu May 23 15:53:33 UTC 2024


On May 23, 2024, at 11:23 AM, Çağlar Karahan <karahancaglar94 at gmail.com> wrote:
> 
> I am working on building FreeRADIUS (v3.2.2) and OpenSSL (v3.3) separately
> with cmake files. After compilations done, I am getting an error "Error:
> (TLS) Failed loading legacy provider" when run radius server with "radiusd
> -Xx".

  Unfortunately this is a local OS issue.  FreeRADIUS asks to load a library, and the OS says "no".

> I also looked with strace command to see any loading issue. It seems that
> it does not find the legacy.so library file.  I also tried to give rpath
> with patchelf command to define the exact path of legacy.so which is
> created during openssl compilation. It still looks a different path which
> does not include the related legacy provider library (legacy.so).

  You can set LD_PRELOAD in raddb/radiusd.conf, "env" subsection.  That causes the server to load the correct library (by exact filename).  It should then work.

  Alan DeKok.



More information about the Freeradius-Users mailing list