Hi all,
I'm trying to set up agents with TLS certificate encryption. The agents will be active-mode only. They should reach out to the configured server, get presented with the SSL certificate, verify that it is trusted, and if so establish a secure connection...however trying to configure the agents to do this gives me some errors.
The relevant configuration looks like this:
All other TLS parameters are commented out. The result is:
It's not reasonable or scalable to issue a client SSL cert for every agent, it seems like I can't configure active TLS (only care about the server cert) without setting up client certs as well. Can someone clarify?
I've tried different combinations of TLSCertFile, TLSServerCertSubject, TLSServerCertIssuer, and TLSCAFile, the errors always imply that I MUST configure a client certificate. The potential security issue here is that the Agent will trust any server regardless of the SSL certificate presented. Very easy to poison DNS and perform a MITM attack to intercept agent communication, potentially allowing remote command execution (e.g. if EnableRemoteCommands=1).
I'm trying to set up agents with TLS certificate encryption. The agents will be active-mode only. They should reach out to the configured server, get presented with the SSL certificate, verify that it is trusted, and if so establish a secure connection...however trying to configure the agents to do this gives me some errors.
The relevant configuration looks like this:
Code:
TLSConnect=cert # TLSAccept=unencrypted TLSCAFile=/etc/zabbix/root.crt
Code:
ERROR: parameter "TLSCAFile" is defined, but "TLSCertFile" is not defined
I've tried different combinations of TLSCertFile, TLSServerCertSubject, TLSServerCertIssuer, and TLSCAFile, the errors always imply that I MUST configure a client certificate. The potential security issue here is that the Agent will trust any server regardless of the SSL certificate presented. Very easy to poison DNS and perform a MITM attack to intercept agent communication, potentially allowing remote command execution (e.g. if EnableRemoteCommands=1).
Comment