I'm facing the problem with the "PSK Identity key" when trying configure TLS PSK encryption between Agent -> Proxy -> Server.
----------------------------------------------------------------------------------
Proxy: configured with another "PSK Identity key A" and PSK file fA.
Agent: configured with "PSK Identiy key B" and PSK file fB.
----------------------------------------------------------------------------------
In zabbix_agentd.conf, Sever and ServerActive is the Proxy IP. I don't want the agent directly sent data to Zabbix server.
----------------------------------------------------------------------------------
Administration -> Proxies: It's ok with the "PSK Identity key A" and fA. This is a PASSIVE PROXY
Configuration -> Hosts: Add the agent host with "PSK Identity key B" and fB. Proxy through the Proxy server.
----------------------------------------------------------------------------------
ERROR:
Server
Agent
When I use "unencrypted" connection for PROXY and keep "PSK" for Agent. All fine.
What am I misunderstanding?
----------------------------------------------------------------------------------
Proxy: configured with another "PSK Identity key A" and PSK file fA.
Agent: configured with "PSK Identiy key B" and PSK file fB.
----------------------------------------------------------------------------------
In zabbix_agentd.conf, Sever and ServerActive is the Proxy IP. I don't want the agent directly sent data to Zabbix server.
----------------------------------------------------------------------------------
Administration -> Proxies: It's ok with the "PSK Identity key A" and fA. This is a PASSIVE PROXY
Configuration -> Hosts: Add the agent host with "PSK Identity key B" and fB. Proxy through the Proxy server.
----------------------------------------------------------------------------------
ERROR:
Server
Code:
cannot connect to proxy "proxy": TCP successful, cannot establish TLS to [[1.2.3.4]:1111]: SSL_connect() I/O error: [104] Connection reset by peer
Code:
failed to accept an incoming connection: from 1.2.3.4: TLS handshake returned error code 1: file s3_srvr.c line 2768: error:1408B0DF:SSL routines:ssl3_get_client_key_exchange:psk identity not found: TLS write fatal alert "unknown PSK identity"
When I use "unencrypted" connection for PROXY and keep "PSK" for Agent. All fine.
What am I misunderstanding?
Comment