I use the next option:

http://ossec-docs.readthedocs.org/en/latest/programs/ossec-authd.html

I have an architecture in Amazon and i need add automaticaly the ossec
agents.

First, generate the server certificate:

#openssl genrsa -out /var/ossec/etc/sslmanager.key 2048

#openssl req -new -x509 -key /var/ossec/etc/sslmanager.key -out
#/var/ossec/etc/sslmanager.cert -days 730
#/var/ossec/bin/ossec-authd -p 1515 >/dev/null 2>&1 &


 and next, after install ossec agent, in the client, i launch the next
sentence:

/var/ossec/bin/ossec-authd -p 1515 >/dev/null 2>&1 &

Very importan thing, in the server you need open the *1515 TCP* prot and *1514
UDP* port.
perhaps this can serve you?

And sorry, my english is bad :D

2014-10-20 15:37 GMT+02:00 dan (ddp) <[email protected]>:

>
> On Oct 20, 2014 9:33 AM, "Donato Donatello" <[email protected]>
> wrote:
> >
> > Hi everyone,
> >
> > What I want is to use one key for all linux agents and do it
> automatically on during setting up ossec on agents. Is there anyonbe can
> help me?
> >
>
> OSEC does not support multiple agents using the same key.
>
> > Thanks
> >
> > --
> >
> > ---
> > 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.
>
> --
>
> ---
> 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.
>



-- 
*Mónica Boto Morán*
*Dept de Sistemas *

*+34915377500 | [email protected] <[email protected]>*

-- 

--- 
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