[ZBXNEXT-3395] make client authentication optional in TLS communication with certificates Created: 2016 Aug 18 Updated: 2022 Jun 14 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Proxy (P), Server (S) |
Affects Version/s: | 3.0.3 |
Fix Version/s: | None |
Type: | Change Request | Priority: | Major |
Reporter: | MarcoP | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 2 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Agent on Windows 2008-2012 and Linux RHEL6, server Linux RHEL6 |
Attachments: | proposal.jpg | ||||
Issue Links: |
|
Description |
Dear team, we are working with agent-server communication encryption
I.e. agent configuration file: The agent on Windows will not start. The same happens with the Linux agent ? but providing a clearer error: Is this expected, i.e. by design Zabbix is using not only encryption but also client authentication over TLS (so the server will ask the client, in this case the agent to provide its certificate to authenticate it? Otherwise, if this is not the intended design, can it be classified as an issue/bug? Thanks in advance for your help |
Comments |
Comment by MarcoP [ 2016 Aug 19 ] |
Hi, ◾ Zabbix uses mutual authentication. |
Comment by Aleksandrs Saveljevs [ 2016 Aug 22 ] |
Yes, Zabbix daemons perform mutual authentication and this is by design. How would you then formulate the feature request? |
Comment by MarcoP [ 2016 Aug 22 ] |
Hi Aleksandrs, So in this use case there would be two options: The encryption without CA would be useful to avoid a certificate to be installed and configured on the Agent, i.e. scenario in which only the connection from the agent to the server needs to be encrypted (active). So only the server would have its certificate and would be authenticated on the agent side, while the agent will not send any certificate to the server. PS: attached web GUI proposal of how this might be activated. |
Comment by Aleksandrs Saveljevs [ 2016 Aug 22 ] |
So, basically, it is about not being required to configure certificates for Zabbix agents, just like with HTTPS, where only a Web server is required to present a certificate, but not clients? |
Comment by MarcoP [ 2016 Aug 22 ] |
hi, yes, you got the point. Thanks |
Comment by Aleksandrs Saveljevs [ 2016 Aug 22 ] |
Thank you! I have updated the issue title and moving it to ZBXNEXT project. Note that if it is desired to only configure a certificate on Zabbix server, but not on the agents, then it will prevent passive checks from working. With passive checks, Zabbix server connects to Zabbix agents, so Zabbix server acts as a TLS client and Zabbix agents act as TLS servers. If Zabbix agents (TLS servers) do not have certificates, then it will probably not work, because TLS servers are more or less required to have certificates (see also http://security.stackexchange.com/questions/38589/can-https-server-configured-without-a-server-certificate). If you just need a cheaper and easier encryption scheme, you can use PSK in the meanwhile. |