spohara79 / estreamer

SourceFire eStreamer python client libraries
Apache License 2.0
9 stars 4 forks source link

Add an explanation on how to get the estreamer.cer file #11

Open HugooB opened 6 years ago

HugooB commented 6 years ago

After a few hours I finally found out that the following command needs to be executed in order to get the estreamer.cer file:

openssl s_client -showcerts -connect <host ip>:8302 > estreamer.cer

Maybe nice to add this to the README file!

spohara79 commented 6 years ago

Duly noted and will add

On Wed, Apr 11, 2018, 9:21 AM HugooB notifications@github.com wrote:

After a few hours I finally found out that the following command needs to be executed in order to get the estreamer.cer file:

openssl s_client -showcerts -connect :8302 > estreamer.cer

Maybe nice to add this to the README file!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spohara79/estreamer/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjAe6vGhtyAZj5y4-_tEuB37_lhHrZOks5tnhFxgaJpZM4TQIH0 .

HugooB commented 6 years ago

And another addition to get the server.key file (which is basically a .pem file). The user needs to download the .pkcs12 file from the server and execute the following command:

openssl pkcs12 -in <file>.pkcs12 -out server.key -nodes

It turned out that using this file also as the server.crt file also works...!