Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nagios check_http with SSL no longer works
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Thu Sep 24, 2009 9:46 am    Post subject: Nagios check_http with SSL no longer works Reply with quote

Hi,

I have been using Nagios since 2002 and I'm having a problem with the check_http plugin since a recent upgrade.

I have just upgraded to net-analyzer/nagios-plugins-1.4.14 and I am using this as my check command running from the command line to test:
Code:
/usr/lib/nagios/plugins/check_http --ssl -I 192.168.101.102 -p 8443 --linespan --ereg=Redirecting -H www.website.com


I get this error message:
Code:
14113:error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected message:s23_clnt.c:596:


If I don't use the "-H" argument then all is ok.... and if I downgrade to net-analyzer/nagios-plugins-1.4.13-r1 it works just fine with the "-H" command.

Any ideas what's wrong apart from a Nagios Bug?

EDIT: ok, this works fine on www.ebuyer.com using -H, but on my local Tomcat system it errors :-(

Rich
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Mon Sep 28, 2009 10:46 pm    Post subject: Reply with quote

Maybe it's a certificate mismatch? I've checked several SSL enabled sites using the 1.4.14 check_http and can't reproduce this.
_________________
Ganz frisch: Praxisbuch Nagios
Gentoo Linux - Die Metadistribution (2. Auflage)
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Sep 29, 2009 8:57 am    Post subject: Reply with quote

dertobi123 wrote:
Maybe it's a certificate mismatch? I've checked several SSL enabled sites using the 1.4.14 check_http and can't reproduce this.


It's a self signed certificate.... it works fine with a commercial certificate, but when you sign them yourself it dies.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum