Open hoangphuc2019 opened 1 year ago
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)
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
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
Did you find any solution ? I am having similar issues.
https://github.com/ossec/ossec-hids/issues/2099
same problem
error message
ossec-server - myserver.lab.com
ossec-client - client-01.lab.com