Hello,
I'm trying to setup mTLS in Zabbix and I'm running into a TLS issue.
My use case for Zabbix here is agent-server and not server-agent. So I only have active checks.
Whenever I start the client it logs the following error:
On the server, it logs the following error in Zabbix logs:
I followed the steps outlined in using_certificates.
Server-side, I'm using the latest zabbix-appliance 4.4 with the following in zabbix_server.conf:

As per this SO post, "SSL alert number 43" has to do with X509 V3 extensions. That "x509v3 Extended Key Usage" contains "TLS Web Server Authentication" and not "TLS Web Client Authentication".
However:
Whatever I try, I always seem to get this same error
Some help would be truly appreciated
Thank you
I'm trying to setup mTLS in Zabbix and I'm running into a TLS issue.
My use case for Zabbix here is agent-server and not server-agent. So I only have active checks.
Whenever I start the client it logs the following error:
Code:
16874:20200318:223835.350 active check configuration update from [192.168.1.31:10051] started to fail (TCP successful, cannot establish TLS to [[192.168.1.31]:10051]: SSL_connect() set result code to SSL_ERROR_SSL: file s3_pkt.c line 1493: error:14094413:SSL routines:ssl3_read_bytes:sslv3 alert unsupported certificate: SSL alert number 43: TLS read fatal alert "unsupported certificate")
Code:
292:20200318:223845.158 failed to accept an incoming connection: from 192.168.1.229: unsupported certificate purpose: TLS handshake set result code to 1: file ssl/statem/statem_srvr.c line 3686: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed: TLS write fatal alert "unsupported certificate"
Server-side, I'm using the latest zabbix-appliance 4.4 with the following in zabbix_server.conf:
- TLSCAFILE = zabbix_ca_file (here shown in text format)
- TLSCERTFILE = zabbix_server.crt (here shown in text format)
- TLSKEYFILE = zabbix_server.key
- TLSCAFILE = zabbix_ca_file (here shown in text format)
- TLSCERTFILE = zabbix_agentd.crt (here shown in text format)
- TLSKEYFILE = zabbix_agentd.key
- TLSConnect = cert
- TLSAccept = cert
As per this SO post, "SSL alert number 43" has to do with X509 V3 extensions. That "x509v3 Extended Key Usage" contains "TLS Web Server Authentication" and not "TLS Web Client Authentication".
However:
- My client certificate (zabbix_agentd.crt) has the correct Extended Key Usage: "TLS Web Client Authentication"
- Generating a client certificate without X509v3 extensions leads to the exact same error, nothing changed
Whatever I try, I always seem to get this same error
Some help would be truly appreciated
Thank you
Comment