Struggling with encryption for HTTPS and NXLog


#1

Hi

I’m new to GL. As i say, struggling with enabling HTTPS and with adding encryption to NXLog.

If anyone has some good notes or useful links i’d appreciate the nudge, i’m finding it hard work getting through the official docs.

Currently have a very basic setup of single GrayLog node, NXLog running for Windows event logs with a couple of streams.

Cheers


(Jan Doberstein) #2

you have two different parts that should be solved on its own.

  1. enable HTTPS for the GUI
  2. enable TLS for your Input

For the 1. you’ll find some guidance in this community. As without knowing what makes you struggle it is hard to solve.

For 2. you did not mention the input/protocol you are using - guessing it is GELF TCP you also find some guidance here in the community.


#3

Thanks for that Jan

Okay for enabling HTTPS

Following this guide http://docs.graylog.org/en/2.4/pages/configuration/https.html I have:

  • graylog-key.pem
  • graylog-certificate.pem

Having set file permissions on the above files and adding them to the server.conf:
web_enable_tls = true
web_tls_cert_file = /path/graylog-certificate.pem
web_tls_key_file = /path/graylog-key.pem
web_tls_key_password = (sha256)
web_listen_uri = https…:9000

rest_enable_tls = true
rest_tls_cert_file = /path/graylog-certificate.pem
rest_tls_key_file =/path/graylog-key.pem
rest_tls_key_password = (sha256)
rest_transport_uri = https…:9001
rest_listen_uri = https…:9001

The guide doesn’t refer to any log files that might be useful to troubleshoot this…

Any help would be highly appreciated

Thanks


(system) #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.