ossec / ossec-hids

OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.
http://www.ossec.net
Other
4.33k stars 1.02k forks source link

ERROR: SSL read (unable to receive message) #2080

Open hoangphuc2019 opened 1 year ago

hoangphuc2019 commented 1 year ago

error message

client-01$ /var/ossec/bin/agent-auth -d -m myserver.lab.com -p1515 -v /etc/pki/tls/certs/ca.crt -k/etc/pki/tls/private/client-01.key -x /etc/pki/tls/certs/client-01.crt -P /var/ossec/etc/authd.pass

2023/02/10 21:19:14 ossec-authd: DEBUG: Starting ...
2023/02/10 21:19:14 ossec-authd: INFO: Started (pid: 1714706).
2023/02/10 21:19:14 ossec-authd: DEBUG: Peer verification requested.
2023/02/10 21:19:14 ossec-authd: DEBUG: Returning CTX for client.
INFO: Using specified password.
2023/02/10 21:19:14 INFO: Connected to myserver.lab.com at address 192.168.10.100, port 1515
INFO: Connected to myserver.lab.com:1515
INFO: Verifying manager's certificate
2023/02/10 21:19:14 ossec-authd: DEBUG: Checking certificate's subject alternative names.
INFO: Using agent name as: client-01.lab.com
INFO: Send request to manager. Waiting for reply.
INFO: Received response with agent key
INFO: Valid key created. Finished.
ERROR: SSL read (unable to receive message)

ossec-server - myserver.lab.com

OS: CentOS Stream release 8
ossec-hids-server-3.7.0-24343.el8.art.x86_64
ossec-hids-3.7.0-24343.el8.art.x86_64

ossec-client - client-01.lab.com

OS: CentOS Stream release 9
ossec-hids-3.7.0-27191.el9.art.x86_64
ossec-hids-agent-3.7.0-27191.el9.art.x86_64
manoj0772 commented 10 months ago

Did you find any solution ? I am having similar issues.

https://github.com/ossec/ossec-hids/issues/2099

mik0s commented 6 months ago

same problem

TheIdhem commented 2 months ago

same problem