Nagios XI 5.8.2 TLS 1.2/1.3 Support

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
aastaguy
Posts: 31
Joined: Tue Apr 30, 2019 10:29 am

Re: Nagios XI 5.8.2 TLS 1.2/1.3 Support

Post by aastaguy »

It looks like this way pulls my cert, and AD info, then presents the info below along with a session id and a master key.

---
No client certificate CA names sent
Peer signing digest: SHA256
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 2201 bytes and written 450 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES128-GCM-SHA256
Session-ID-ctx:
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios XI 5.8.2 TLS 1.2/1.3 Support

Post by dchurch »

Okay, then what's the output from this?:

Code: Select all

php --version
php -r 'print_r([openssl_get_cipher_methods(),openssl_get_curve_names(),openssl_get_md_methods()]);'
openssl s_client -starttls smtp -tls1_2 -connect POSTFIXSEREVR:25 </dev/null
I looked into TLS 1.2 support in PHP and the PHPMailer library, and it seems that the TLS version tried is up to the PHP and openssl version. They added a workaround to support TLS 1.0 and TLS 1.1 in newer versions of PHP because PHP would refuse to even try them. I suppose next we could try disabling that workaround.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
aastaguy
Posts: 31
Joined: Tue Apr 30, 2019 10:29 am

Re: Nagios XI 5.8.2 TLS 1.2/1.3 Support

Post by aastaguy »

PHP 5.4.16 (cli) (built: Apr 1 2020 04:07:17)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies



PHP Fatal error: Call to undefined function openssl_get_curve_names() in Command line code on line 1



plus the same cert and keys from before:

No client certificate CA names sent
Peer signing digest: SHA256
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 2200 bytes and written 450 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES128-GCM-SHA256
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios XI 5.8.2 TLS 1.2/1.3 Support

Post by dchurch »

There's your problem. You need to be on PHP 5.6.8 or higher for TLS 1.2.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
aastaguy
Posts: 31
Joined: Tue Apr 30, 2019 10:29 am

Re: Nagios XI 5.8.2 TLS 1.2/1.3 Support

Post by aastaguy »

Awesome, thank you! I will get this updated and see what happens, but that makes sense.

Thanks again!
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios XI 5.8.2 TLS 1.2/1.3 Support

Post by dchurch »

Glad to hear you resolved it! Locking thread.

If you have any additional issues, feel free to make a new thread.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Locked