rlm_eap: SSL error error:0906D06C:PEM routines:PEM_read_bio:no start line

Venkat venkatlkmula at gmail.com
Fri Jul 18 03:33:34 CEST 2008


Hi ,

I'm facing the above said problem can any one please give me the solution.

[root at localhost sbin]# ./radiusd -xX
Thu Jul 17 18:04:42 2008 : Info: FreeRADIUS Version 2.0.5, for host
i686-pc-linux-gnu, built on Jul  7 2008 at 17:33:14
Thu Jul 17 18:04:42 2008 : Info: Copyright (C) 1999-2008 The FreeRADIUS
server project and contributors.
Thu Jul 17 18:04:42 2008 : Info: There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A
Thu Jul 17 18:04:42 2008 : Info: PARTICULAR PURPOSE.
Thu Jul 17 18:04:42 2008 : Info: You may redistribute copies of FreeRADIUS
under the terms of the
Thu Jul 17 18:04:42 2008 : Info: GNU General Public License v2.
Thu Jul 17 18:04:42 2008 : Info: Starting - reading configuration files ...
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/radiusd.conf
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/proxy.conf
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/clients.conf
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/snmp.conf
Thu Jul 17 18:04:42 2008 : Debug: including files in directory
/usr/local/etc/raddb/modules/
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/counter
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/always
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/etc_group
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/sql_log
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/ldap
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/ippool
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/acct_unique
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/pam
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/attr_rewrite
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/echo
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/expr
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/realm
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/smbpasswd
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/expiration
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/mac2ip
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/policy
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/chap
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/unix
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/krb5
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/detail.log
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/checkval
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/exec
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/detail
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/passwd
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/radutmp
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/preprocess
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/attr_filter
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/sradutmp
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/mschap
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/logintime
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/mac2vlan
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/pap
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/files
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/modules/digest
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/eap.conf
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/sql.conf
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/sql/mysql/dialup.conf
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/sql/mysql/counter.conf
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/policy.conf
Thu Jul 17 18:04:42 2008 : Debug: including files in directory
/usr/local/etc/raddb/sites-enabled/
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/sites-enabled/default
Thu Jul 17 18:04:42 2008 : Debug: including configuration file
/usr/local/etc/raddb/sites-enabled/inner-tunnel
Thu Jul 17 18:04:42 2008 : Debug: including dictionary file
/usr/local/etc/raddb/dictionary
Thu Jul 17 18:04:42 2008 : Debug: main {
Thu Jul 17 18:04:42 2008 : Debug:       prefix = "/usr/local"
Thu Jul 17 18:04:42 2008 : Debug:       localstatedir = "/usr/local/var"
Thu Jul 17 18:04:42 2008 : Debug:       logdir = "/usr/local/var/log/radius"
Thu Jul 17 18:04:42 2008 : Debug:       libdir = "/usr/local/lib"
Thu Jul 17 18:04:42 2008 : Debug:       radacctdir =
"/usr/local/var/log/radius/radacct"
Thu Jul 17 18:04:42 2008 : Debug:       hostname_lookups = no
Thu Jul 17 18:04:42 2008 : Debug:       max_request_time = 30
Thu Jul 17 18:04:42 2008 : Debug:       cleanup_delay = 5
Thu Jul 17 18:04:42 2008 : Debug:       max_requests = 1024
Thu Jul 17 18:04:42 2008 : Debug:       allow_core_dumps = no
Thu Jul 17 18:04:42 2008 : Debug:       pidfile =
"/usr/local/var/run/radiusd/radiusd.pid"
Thu Jul 17 18:04:42 2008 : Debug:       checkrad =
"/usr/local/sbin/checkrad"
Thu Jul 17 18:04:42 2008 : Debug:       debug_level = 0
Thu Jul 17 18:04:42 2008 : Debug:       proxy_requests = yes
Thu Jul 17 18:04:42 2008 : Debug:  log {
Thu Jul 17 18:04:42 2008 : Debug:       stripped_names = no
Thu Jul 17 18:04:42 2008 : Debug:       auth = no
Thu Jul 17 18:04:42 2008 : Debug:       auth_badpass = no
Thu Jul 17 18:04:42 2008 : Debug:       auth_goodpass = no
Thu Jul 17 18:04:42 2008 : Debug:  }
Thu Jul 17 18:04:42 2008 : Debug: }
Thu Jul 17 18:04:42 2008 : Debug:  client 192.168.136.55 {
Thu Jul 17 18:04:42 2008 : Debug:       ipaddr = 192.168.136.55
Thu Jul 17 18:04:42 2008 : Debug:       require_message_authenticator = no
Thu Jul 17 18:04:42 2008 : Debug:       secret = "sharedsecret"
Thu Jul 17 18:04:42 2008 : Debug:       nastype = "other"
Thu Jul 17 18:04:42 2008 : Debug:  }
Thu Jul 17 18:04:42 2008 : Debug: radiusd: #### Loading Realms and Home
Servers ####
Thu Jul 17 18:04:42 2008 : Debug:  proxy server {
Thu Jul 17 18:04:42 2008 : Debug:       retry_delay = 5
Thu Jul 17 18:04:42 2008 : Debug:       retry_count = 3
Thu Jul 17 18:04:42 2008 : Debug:       default_fallback = no
Thu Jul 17 18:04:42 2008 : Debug:       dead_time = 120
Thu Jul 17 18:04:42 2008 : Debug:       wake_all_if_all_dead = no
Thu Jul 17 18:04:42 2008 : Debug:  }
Thu Jul 17 18:04:42 2008 : Debug:  home_server localhost {
Thu Jul 17 18:04:42 2008 : Debug:       ipaddr = 127.0.0.1
Thu Jul 17 18:04:42 2008 : Debug:       port = 1812
Thu Jul 17 18:04:42 2008 : Debug:       type = "auth"
Thu Jul 17 18:04:42 2008 : Debug:       secret = "testing123"
Thu Jul 17 18:04:42 2008 : Debug:       response_window = 20
Thu Jul 17 18:04:42 2008 : Debug:       max_outstanding = 65536
Thu Jul 17 18:04:42 2008 : Debug:       zombie_period = 40
Thu Jul 17 18:04:42 2008 : Debug:       status_check = "status-server"
Thu Jul 17 18:04:42 2008 : Debug:       ping_check = "none"
Thu Jul 17 18:04:42 2008 : Debug:       ping_interval = 30
Thu Jul 17 18:04:42 2008 : Debug:       check_interval = 30
Thu Jul 17 18:04:42 2008 : Debug:       num_answers_to_alive = 3
Thu Jul 17 18:04:42 2008 : Debug:       num_pings_to_alive = 3
Thu Jul 17 18:04:42 2008 : Debug:       revive_interval = 120
Thu Jul 17 18:04:42 2008 : Debug:       status_check_timeout = 4
Thu Jul 17 18:04:42 2008 : Debug:  }
Thu Jul 17 18:04:42 2008 : Debug:  home_server_pool my_auth_failover {
Thu Jul 17 18:04:42 2008 : Debug:       type = fail-over
Thu Jul 17 18:04:42 2008 : Debug:       home_server = localhost
Thu Jul 17 18:04:42 2008 : Debug:  }
Thu Jul 17 18:04:42 2008 : Debug:  realm example.com {
Thu Jul 17 18:04:42 2008 : Debug:       auth_pool = my_auth_failover
Thu Jul 17 18:04:42 2008 : Debug:  }
Thu Jul 17 18:04:42 2008 : Debug:  realm LOCAL {
Thu Jul 17 18:04:42 2008 : Debug:  }
Thu Jul 17 18:04:42 2008 : Debug: radiusd: #### Instantiating modules ####
Thu Jul 17 18:04:42 2008 : Debug:  instantiate {
Thu Jul 17 18:04:42 2008 : Debug:     (Loaded rlm_exec, checking if it's
valid)
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to module rlm_exec
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating exec
Thu Jul 17 18:04:42 2008 : Debug:   exec {
Thu Jul 17 18:04:42 2008 : Debug:       wait = no
Thu Jul 17 18:04:42 2008 : Debug:       input_pairs = "request"
Thu Jul 17 18:04:42 2008 : Debug:       shell_escape = yes
Thu Jul 17 18:04:42 2008 : Debug:   }
Thu Jul 17 18:04:42 2008 : Debug:     (Loaded rlm_expr, checking if it's
valid)
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to module rlm_expr
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating expr
Thu Jul 17 18:04:42 2008 : Debug:     (Loaded rlm_expiration, checking if
it's valid)
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to module rlm_expiration
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating expiration
Thu Jul 17 18:04:42 2008 : Debug:   expiration {
Thu Jul 17 18:04:42 2008 : Debug:       reply-message = "Password Has
Expired  "
Thu Jul 17 18:04:42 2008 : Debug:   }
Thu Jul 17 18:04:42 2008 : Debug:     (Loaded rlm_logintime, checking if
it's valid)
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to module rlm_logintime
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating logintime
Thu Jul 17 18:04:42 2008 : Debug:   logintime {
Thu Jul 17 18:04:42 2008 : Debug:       reply-message = "You are calling
outside your allowed timespan  "
Thu Jul 17 18:04:42 2008 : Debug:       minimum-timeout = 60
Thu Jul 17 18:04:42 2008 : Debug:   }
Thu Jul 17 18:04:42 2008 : Debug:  }
Thu Jul 17 18:04:42 2008 : Debug: radiusd: #### Loading Virtual Servers ####
Thu Jul 17 18:04:42 2008 : Debug: server inner-tunnel {
Thu Jul 17 18:04:42 2008 : Debug:  modules {
Thu Jul 17 18:04:42 2008 : Debug:  Module: Checking authenticate {...} for
more modules to load
Thu Jul 17 18:04:42 2008 : Debug:     (Loaded rlm_pap, checking if it's
valid)
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to module rlm_pap
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating pap
Thu Jul 17 18:04:42 2008 : Debug:   pap {
Thu Jul 17 18:04:42 2008 : Debug:       encryption_scheme = "auto"
Thu Jul 17 18:04:42 2008 : Debug:       auto_header = no
Thu Jul 17 18:04:42 2008 : Debug:   }
Thu Jul 17 18:04:42 2008 : Debug:     (Loaded rlm_chap, checking if it's
valid)
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to module rlm_chap
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating chap
Thu Jul 17 18:04:42 2008 : Debug:     (Loaded rlm_mschap, checking if it's
valid)
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to module rlm_mschap
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating mschap
Thu Jul 17 18:04:42 2008 : Debug:   mschap {
Thu Jul 17 18:04:42 2008 : Debug:       use_mppe = yes
Thu Jul 17 18:04:42 2008 : Debug:       require_encryption = no
Thu Jul 17 18:04:42 2008 : Debug:       require_strong = no
Thu Jul 17 18:04:42 2008 : Debug:       with_ntdomain_hack = no
Thu Jul 17 18:04:42 2008 : Debug:   }
Thu Jul 17 18:04:42 2008 : Debug:     (Loaded rlm_unix, checking if it's
valid)
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to module rlm_unix
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating unix
Thu Jul 17 18:04:42 2008 : Debug:   unix {
Thu Jul 17 18:04:42 2008 : Debug:       radwtmp =
"/usr/local/var/log/radius/radwtmp"
Thu Jul 17 18:04:42 2008 : Debug:   }
Thu Jul 17 18:04:42 2008 : Debug:     (Loaded rlm_eap, checking if it's
valid)
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to module rlm_eap
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating eap
Thu Jul 17 18:04:42 2008 : Debug:   eap {
Thu Jul 17 18:04:42 2008 : Debug:       default_eap_type = "md5"
Thu Jul 17 18:04:42 2008 : Debug:       timer_expire = 60
Thu Jul 17 18:04:42 2008 : Debug:       ignore_unknown_eap_types = no
Thu Jul 17 18:04:42 2008 : Debug:       cisco_accounting_username_bug = no
Thu Jul 17 18:04:42 2008 : Debug:   }
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to sub-module rlm_eap_md5
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating eap-md5
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to sub-module rlm_eap_leap
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating eap-leap
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to sub-module rlm_eap_gtc
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating eap-gtc
Thu Jul 17 18:04:42 2008 : Debug:    gtc {
Thu Jul 17 18:04:42 2008 : Debug:       challenge = "Password: "
Thu Jul 17 18:04:42 2008 : Debug:       auth_type = "PAP"
Thu Jul 17 18:04:42 2008 : Debug:    }
Thu Jul 17 18:04:42 2008 : Debug:  Module: Linked to sub-module rlm_eap_tls
Thu Jul 17 18:04:42 2008 : Debug:  Module: Instantiating eap-tls
Thu Jul 17 18:04:42 2008 : Debug:    tls {
Thu Jul 17 18:04:42 2008 : Debug:       rsa_key_exchange = no
Thu Jul 17 18:04:42 2008 : Debug:       dh_key_exchange = yes
Thu Jul 17 18:04:42 2008 : Debug:       rsa_key_length = 512
Thu Jul 17 18:04:42 2008 : Debug:       dh_key_length = 512
Thu Jul 17 18:04:42 2008 : Debug:       verify_depth = 0
Thu Jul 17 18:04:42 2008 : Debug:       CA_path =
"/path/to/directory/with/ca_certs/and/crls/"
Thu Jul 17 18:04:42 2008 : Debug:       pem_file_type = yes
Thu Jul 17 18:04:42 2008 : Debug:       private_key_file =
"/usr/local/etc/raddb/certs/test_SAI.pem"
Thu Jul 17 18:04:42 2008 : Debug:       certificate_file =
"/usr/local/etc/raddb/certs/test_SAI.pem"
Thu Jul 17 18:04:42 2008 : Debug:       CA_file =
"/usr/local/etc/raddb/certs/cacert.pem"
Thu Jul 17 18:04:42 2008 : Debug:       private_key_password = "whatever"
Thu Jul 17 18:04:42 2008 : Debug:       dh_file =
"/usr/local/etc/raddb/certs/dh"
Thu Jul 17 18:04:42 2008 : Debug:       random_file = "/dev/urandom"
Thu Jul 17 18:04:42 2008 : Debug:       fragment_size = 1024
Thu Jul 17 18:04:42 2008 : Debug:       include_length = yes
Thu Jul 17 18:04:42 2008 : Debug:       check_crl = no
Thu Jul 17 18:04:42 2008 : Debug:       cipher_list = "DEFAULT"
Thu Jul 17 18:04:42 2008 : Debug:       make_cert_command =
"/usr/local/etc/raddb/certs/bootstrap"
Thu Jul 17 18:04:42 2008 : Debug:    }
Thu Jul 17 18:04:42 2008 : Error: rlm_eap: SSL error error:0906D06C:PEM
routines:PEM_read_bio:no start line
Thu Jul 17 18:04:42 2008 : Error: rlm_eap_tls: Error reading private key
file /usr/local/etc/raddb/certs/test_SAI.pem
Thu Jul 17 18:04:42 2008 : Error: rlm_eap: Failed to initialize type tls
Thu Jul 17 18:04:42 2008 : Error: /usr/local/etc/raddb/eap.conf[17]:
Instantiation failed for module "eap"
Thu Jul 17 18:04:42 2008 : Error:
/usr/local/etc/raddb/sites-enabled/inner-tunnel[223]: Failed to find module
"eap".
Thu Jul 17 18:04:42 2008 : Error:
/usr/local/etc/raddb/sites-enabled/inner-tunnel[176]: Errors parsing
authenticate section.
Thu Jul 17 18:04:42 2008 : Debug:  }
Thu Jul 17 18:04:42 2008 : Debug: }
Thu Jul 17 18:04:42 2008 : Error: Errors initializing modules

-- 
regards,
Venkat
9885480745
'take the things and as and when the way they come ...'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080717/e6c1a836/attachment.html>


More information about the Freeradius-Users mailing list