Ad Widget

Collapse

Connection refused after enabling TLS with PSK

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rpoelking
    Junior Member
    • Jan 2022
    • 12

    #1

    Connection refused after enabling TLS with PSK

    Newbie Zabbix user - I have configured a server and agent on 2 separate AWS EC2 instances and if I leave all encryption off, communication is fine. I've followed the direction given by Dmitry Lambert on YouTube for configuring a PSK TLS connection, but once enabled, I just get "Connection Refused" messages from the Zabbix server.

    In my agent config, I've set TLSConnect and TLSAccept both = psk, set my TLSPSKIdentity and TLSKeyFile path. On the Server, I turned on PSK encryption and set the identity and entered the psk that was saved in my agent file.

    log file shows: cannot use encryption configuration: missing TLSPSKFile configuration parameter

    The path is correct and I've verified it. Do I need to chown or chmod it for Zabbix agent to read it?
  • rpoelking
    Junior Member
    • Jan 2022
    • 12

    #2
    Nevermind - RESOLVED.

    I had my entry for key file under TLSKeyFile rather than TLSPSKFile.

    Comment

    Working...