Wednesday 23 May 2012

"Error: rlm_eap: SSL error :02001002:system library:fopen:No such file or directory " How to solve in freeradius Server.

Free Radius Server SSL error :



I was using Fedora 14 we downloaded the source code of free radius. did following things:

1) ./configure
2) make
3) make install

Now everything got installed , but when i started the server following error came:

radiusd -X

Error: rlm_eap: SSL error :02001002:system library:fopen:No such file or directory
 Error: rlm_eap_tls: Error reading
certificate file /etc/raddb/certs/server.pem
 Error: rlm_eap: Failed to initialize type tls
: Error: /etc/raddb/eap.conf[17]:
Instantiation failed for module "eap"
 Error:/etc/raddb/sites-enabled/inner-tunnel[223]: Failed to find module
"eap".
Error:/etc/raddb/sites-enabled/inner-tunnel[176]: Errors parsing
authenticate section.
Error: Errors initializing modules



=========================

I searched in forum and the solution which worked

1. go to certs folder [/etc/raddb/certs]
2. start bootstrap [./bootstrap]
3. chown root:radiusd /etc/raddb/certs/*]


Now again restart the server "radiusd -X " , it worked fine.