Skip to content

Commit

Permalink
some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsiryk committed Jan 20, 2017
1 parent 4e942b5 commit a9d3cb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Elastic/elk_stack_ubuntu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,7 @@ Create config for certs generating ``/etc/logstash/ssl/ssl.conf``::
Generate SSL cert::

cd /etc/logstash/ssl/
sudo openssl req -x509 -newkey rsa:4096 -keyout logstash.key -out logstash.crt -days 3650 -nodes -batch -config ssl.conf
sudo chmod 600 key.key
sudo openssl req -x509 -newkey rsa:4096 -keyout logstash.key -out logstash.crt -days 10000 -nodes -batch -config ssl.conf


Add your config-file in ``conf.d``-directory ``/etc/logstash/conf.d/my-conf.conf``::
Expand Down Expand Up @@ -428,6 +427,7 @@ Installation

Use the update-rc.d command to configure Filebeat to start automatically when the system boots up::

# Ubuntu 14.04
sudo update-rc.d filebeat defaults 95 10


Expand Down
2 changes: 0 additions & 2 deletions ssl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Self-signed
Generate on Linux::

sudo openssl req -x509 -newkey rsa:4096 -keyout key.key -out cert.crt -days 365 -nodes -batch
sudo chmod 600 key.key


# alternate
Expand Down Expand Up @@ -72,7 +71,6 @@ Create config ``ssl.conf``::
Run generate command::

sudo openssl req -x509 -newkey rsa:4096 -keyout key.key -out cert.crt -days 3650 -nodes -batch -config ssl.conf
sudo chmod 600 key.key



Expand Down

0 comments on commit a9d3cb6

Please sign in to comment.