Page 1 of 1

Cannot create SSL context

Posted: Wed Aug 24, 2016 12:18 pm
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?

Re: Cannot create SSL context

Posted: Wed Aug 24, 2016 1:05 pm
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?

Re: Cannot create SSL context

Posted: Wed Aug 24, 2016 1:12 pm
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?