Ad Widget

Collapse

Zabbix Agent Certificate

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srdev
    Junior Member
    • Mar 2025
    • 7

    #1

    Zabbix Agent Certificate

    Hi,

    We try to implement a secure communication between our zabbix server and zabbix agent (only server to agent), according to the documentation we implemented the following configuration on :

    - Zabbix Agent
    Code:
    TLSAccept=cert
    TLSCAFile=Our certificate CA
    TLSCertFile=Our certificate file
    TLSKeyFile= Our certificate key
    - Zabbix server
    We activate Certificate Encryption with the Issuer and subject chain that match with the Zabbix Agent Certificate

    Click image for larger version

Name:	Annotation 2025-03-24 171440.png
Views:	166
Size:	23.2 KB
ID:	500995

    After this configuration we still have an error => cannot connect with TLS and certificate : no valid certificate loaded

    Click image for larger version

Name:	Annotation 2025-03-24 171637.png
Views:	110
Size:	22.3 KB
ID:	500996

    On Zabbix Agent we have => failed to accept an incoming connection: from xx.xx.xx.xx : unencrypted connections are not allowed

    All the CA are installed on zabbix server, zabbix agent certifcate match with the key.

    we also test with openssl a connection to the agent on zabbix server with succes
    openssl s_client -connect host_ip_zabbix_agent:10050 => OK

    Do we miss something ?

    Thanks
    Julien
  • Moob
    Member
    • Mar 2025
    • 31

    #2
    Hi,

    What if you add TLSServerCertIssuer and TLSServerCertSubject to your agent config, does that work ?

    Regards

    Comment

    Working...