Struggling with encryption for HTTPS and NXLog


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.


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.

Thanks for that Jan

Okay for enabling HTTPS

Following this guide 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


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