Hi All,

I am  trying to use ossec agent-auth to auto agent key registration with 
ossec server.

I did the followoing on server


   1. *openssl genrsa -out /var/ossec/etc/sslmanager.key 2048*
   2. *openssl req -new -x509 -key /var/ossec/etc/sslmanager.key -out 
   /var/ossec/etc/sslmanager.cert -days 365*
   3. */var/ossec/bin/ossec-authd -p 1515 -i >/dev/null 2>&1 &*
   4. add the following rule to /etc/ossim/firewall_include : 
   5. *-A INPUT –p tcp –-dport 1515 –j ACCEPT*
   6. *Run ossim-reconfig and then again started  **/var/ossec/bin/ossec-authd 
   -p 1515 -i >/dev/null 2>&1 & and the process starts.*



*   However when i run  ./agent-auth -m 192.168.10.246 -p 1515 **on agent i 
get the following error :*



*2016/10/03 12:34:58 ossec-authd: INFO: Started (pid: 9656).2016/10/03 
12:34:58 ossec-authd: Unable to connect to 192.168.10.246:1515*
Any kind of help would be appreciated.

Looking forward to your reply .

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to