Cannot create SSL context

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Cyber Saiyan
Posts: 14
Joined: Mon Jun 15, 2015 7:01 am

Cannot create SSL context

Post by Cyber Saiyan »

We have had Nagios core up and running for over a year now without issue until recently. One of the check_http checks starting throwing an odd message that I cannot find much help with.

The error message cites "CRITICAL - Cannot create SSL context". I am using the command: check_http -H IP.ADDRESS.OF.MACHINE --ssl=3 -p 443 but cannot figure out why it suddenly started throwing the error.

I tried the same test on a different webserver and replicated the same error message, so I am thinking I may need to upgrade the SSL lib, I am not exactly sure if I need to do this or even exactly HOW to do this.

If I swap the command for check_http -S -H IP.ADDRESS.OF.MACHINE -p 443 it returns CANNOT MAKE SSL CONNECTION.

Any ideas?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Cannot create SSL context

Post by tgriep »

Can you add the -v option to your command to get a verbose output and post it here so we can view the error?
Be sure to check out our Knowledgebase for helpful articles and solutions!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Cannot create SSL context

Post by ssax »

I talked with our C dev and he said that either the SSL libraries went missing or new SSL libraries were added and you need to recompile your nagios plugins.

What Linux distro/version are you running Core on?
Locked