2022 Zabbix中国峰会
2022 Zabbix中国峰会

3 PSK问题

PSK包含奇数个十六进制数字

Proxy或agent不启动,proxy或agent日志中的消息:

invalid PSK in file "/home/zabbix/zabbix_proxy.psk"

长度超过128字节的PSK identity(共享密钥一致性)字符串传递给GnuTLS

在TLS客户端日志中

gnutls_handshake() failed: -110 The TLS connection was non-properly terminated.

在TLS服务器端日志中。

gnutls_handshake() failed: -90 The SRP username supplied is illegal.

超过32个字节的PSK传递到mbed TLS(PolarSSL)

在任何Zabbix日志中:

ssl_set_psk(): SSL - Bad input parameters to function