Page 2 of 2

Re: backend error?

Posted: Thu Jan 14, 2016 5:22 pm
by tmcdonald
I will see if I can get dev confirmation, but I believe we just need a working SSL connection.

Re: backend error?

Posted: Thu Jan 14, 2016 5:34 pm
by ssax
Please send the exact change you made to your apache configuration (the exact lines) so that I can look for a solution, it looks like they are just curl commands that are being run for those, there may be some options we can pass that will make it work but I need a broken system first.

Thank you

Re: backend error?

Posted: Fri Jan 15, 2016 1:15 pm
by emartine
Before when nagios was working fine...

SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW


After with error


SSLProtocol -All +TLSv1.2
SSLCipherSuite kEECDH:+kEECDH+SHA:kEDH:+kEDH+SHA:+kEDH+CAMELLIA:kECDH:+kECDH+SHA:kRSA:+kRSA+SHA:+kRSA+CAMELLIA:!aNULL:!eNULL:!SSLv2:!DES:!EXP:!SEED:!IDEA:!3DES:-RC4

Re: backend error?

Posted: Fri Jan 15, 2016 3:45 pm
by ssax
Here's how I got it working on mine.

*** Note: This will get reverted if you upgrade and will need to be reimplemented.
*** Make sure that you have known-good backups/vm snapshots before making any modifications
*** Make sure that you do this on a test server fist before to make sure it doesn't impact anything negatively

Edit this file:

Code: Select all

/usr/local/nagiosxi/html/includes/utilsx.inc.php
Add this line:

Code: Select all

curl_setopt ($ch, CURLOPT_SSLVERSION, 6);
Before this code (around line 161):

Code: Select all

curl_setopt($ch, CURLOPT_URL, $page);
Then restart apache:

Code: Select all

service httpd restart

That should work, let me know how it goes.