2.0.5 on Solaris, openssl 0.9.8h ---> does support sha256 ?
Rafiqul Ahsan
rafiqul.ahsan at gmail.com
Sat Aug 9 08:41:50 CEST 2008
Hi Alan,
I have applied below two patches (as I have seen somebody posted for
freeradius 1.1.7) for freeradius 2.0.5 supporting sha256-rsa (the
patches listed below as 1, and 2). After ./configure, make clean,
make, and make install I ran ./radiusd -X, but getting symbol
reference error as per below log (I have not rebuilt openssl):
tls {
rsa_key_exchange = yes
dh_key_exchange = no
rsa_key_length = 1024
dh_key_length = 1024
verify_depth = 2
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/server_pvt.pem"
certificate_file = "/usr/local/etc/raddb/certs/server_cert.pem"
CA_file = "/usr/local/etc/raddb/certs/ServerRootCA.pem"
dh_file = "/usr/local/etc/raddb/certs/DH"
random_file = "/usr/local/etc/raddb/certs/random"
fragment_size = 1024
include_length = yes
check_crl = no
}
ld.so.1: radiusd: fatal: relocation error: file
/usr/local/lib/rlm_eap_tls-2.0.5.so: symbol openSSL_add_all_digests:
referenced symbol not found
Killed
1. freeradius-1.1.7/configure
-LIBS="-lssl $LIBS"
+LIBS="-lssl -lcrypto -ldl $LIBS"
- OPENSSL_LIBS="$OPENSSL_LIBS -lcrypto -lssl -lcrypto"
+ OPENSSL_LIBS="$OPENSSL_LIBS -lcrypto -lssl -lcrypto -ldl"
2. freeradius-1.1.7/src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c
SSL_library_init();
SSL_load_error_strings();
+ OpenSSL_add_all_digests();
meth = TLSv1_method();
ctx = SSL_CTX_new(meth);
Can you please help ?
--
Rafiqul Ahsan
More information about the Freeradius-Users
mailing list