Hello!
I'm trying to set up Zabbix 7.0 with PostgreSQL 16 on two hosts with Debian 12. I set up TLS certificates to connect to the database. If I run the psql command on the host with the Zabbix server, I successfully connect to the database.
However, when setting up the connection in the web interface, I get the error:

In the database logs I see the message:
pg_hba.conf contains the following settings:
Please tell me what the problem could be?
I'm trying to set up Zabbix 7.0 with PostgreSQL 16 on two hosts with Debian 12. I set up TLS certificates to connect to the database. If I run the psql command on the host with the Zabbix server, I successfully connect to the database.
Code:
psql "host=zabbix-db.domain.local port=5432 user=zabbix dbname=zabbix sslmode=verify-full sslcert=zabbix.crt sslkey=zabbix.key sslrootcert=ca.crt"
Code:
"Cannot connect to the database."
In the database logs I see the message:
Code:
"[unknown]@[unknown] LOG: could not accept SSL connection: EOF detected"
Code:
# IPv4 remote connections for authenticated users hostssl all zabbix [URL="http://192.168.0.31/32"]192.168.0.31/32[/URL]scram-sha-256 clientcert=verify-full
Comment