I used "Website certificate by Zabbix agent 2" to check an LDAP servers certificate by simply adding {$CERT.WEBSITE.PORT}=636. This worked fine until recently.
Now I am getting "Cannot fetch data: remote error: tls: handshake failure."
Possibly this changed with the upgrade from 7.2 to 7.4 - but this might be a coincidence because there where also changes (patches) on the ldap server side. There was still Agent 2 7.2 on the the LDAP server when the problem first occurred and it did not change with 7.4
zabix_get results in "ZBX_NOTSUPPORTED: Cannot fetch data: remote error: tls: handshake failure."; exactly the same command with port 443 instead of 636 works fine.
openssl s_client works:
In the ldap server's log I see:
TLS accept failure 1 on connection 0x21b8e720, setting err = -5875. Error stack:
error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
Any idea why Zabbix agent 2 can't get the certificate information any more? Are there any cipher settings to change?
Thanks!
Now I am getting "Cannot fetch data: remote error: tls: handshake failure."
Possibly this changed with the upgrade from 7.2 to 7.4 - but this might be a coincidence because there where also changes (patches) on the ldap server side. There was still Agent 2 7.2 on the the LDAP server when the problem first occurred and it did not change with 7.4
zabix_get results in "ZBX_NOTSUPPORTED: Cannot fetch data: remote error: tls: handshake failure."; exactly the same command with port 443 instead of 636 works fine.
openssl s_client works:
Code:
[FONT=monospace][COLOR=#ff5454][B]l1:~ #[/B][/COLOR][COLOR=#000000] openssl s_client -connect l1.************:636 -brief [/COLOR] CONNECTION ESTABLISHED Protocol version: TLSv1.2 Ciphersuite: AES256-GCM-SHA384 Peer certificate: O = YYY, CN = [COLOR=#000000]l1.************ Verification: OK[/COLOR][/FONT]
TLS accept failure 1 on connection 0x21b8e720, setting err = -5875. Error stack:
error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
Any idea why Zabbix agent 2 can't get the certificate information any more? Are there any cipher settings to change?
Thanks!
Comment