[Nagiosplug-help] compiling with --with-openssl=<dir>. which dir?

VEGH Karoly karoly.vegh at uta.at
Fri Sep 5 10:15:05 CEST 2003


I am compiling nagios-plugs ona Debian linux, and trying 
to get check_http check https servers as well, hence
the --with-openssl switch:

atsrvlx01:/usr/src/nagios-plugins-1.3.1# ./configure --help 2>&1 | grep ssl
--with-openssl=<dir> sets path to openssl installation
atsrvlx01:/usr/src/nagios-plugins-1.3.1# 

my quiestion is: which directory exactly?

where the openssl binary is? or /usr/lib/ssl?

I have the followin ssl- packages installed:

atsrvlx01:/usr/src/nagios-plugins-1.3.1# dpkg -l | grep ssl
ii  libssl-dev     0.9.6c-2.woody SSL development libraries, header files and 
ii  libssl0.9.6    0.9.6c-2.woody SSL shared libraries
ii  libssl0.9.7    0.9.7a-1       SSL shared libraries
ii  lynx-ssl       2.8.4.1b-3.1   Text-mode WWW Browser supporting SSL
ii  openssl        0.9.6c-2.woody Secure Socket Layer (SSL) binary and related
atsrvlx01:/usr/src/nagios-plugins-1.3.1#

In my openssl package are the following important files included:

atsrvlx01:/usr/src/nagios-plugins-1.3.1# dpkg -L openssl | grep -v doc | grep -v man 
/.
/usr
/usr/share
/usr/bin
/usr/bin/openssl
/usr/bin/c_rehash
/usr/lib
/usr/lib/ssl
/usr/lib/ssl/misc
/usr/lib/ssl/misc/CA.sh
/usr/lib/ssl/misc/CA.pl
/usr/lib/ssl/misc/der_chop
/usr/lib/ssl/misc/c_hash
/usr/lib/ssl/misc/c_info
/usr/lib/ssl/misc/c_issuer
/usr/lib/ssl/misc/c_name
/usr/lib/ssl/lib
/etc
/etc/ssl
/etc/ssl/certs
/etc/ssl/openssl.cnf
/etc/ssl/private
/usr/lib/ssl/certs
/usr/lib/ssl/private
/usr/lib/ssl/openssl.cnf
atsrvlx01:/usr/src/nagios-plugins-1.3.1#

which directory shall I give to --with-openssl=<dir> ?

I tried /usr/bin and tried /usr/lib/ssl as well, in both cases I get:

atsrvlx01:/usr/src/nagios-plugins-1.3.1# ./plugins/check_http -S -H anmeldung.uta.at
20714:error:140EC071:SSL routines:SSL2_READ_INTERNAL:bad mac decode:s2_pkt.c:273:
Unable to open TCP socketatsrvlx01:/usr/src/nagios-plugins-1.3.1#

what do I do wrong?

any help is appreciated.
Pls be so kind as to CC: me, since I am atmo not subscribed to the 
list.

tia

charlie

-- 
Végh Károly -  System Engineer - UTA - TIS.SAS.BSS
Don't worry. Everything is getting nicely out of control.





More information about the Help mailing list