Also struggling with TLS enabled HTTP in Docker

I’m trying to secure the web interface with TLS, which is working so far but API calls are not possible if enabled

Unable to call on node … Hostname not verified: …

I’ve tried the same approach like
but with no avail, Web Fronted just reports “Not Found” after that

My Docker Env so far

  • GRAYLOG_HTTP_TLS_CERT_FILE = /path_to/cert.crt
  • GRAYLOG_HTTP_TLS_KEY_FILE = /path_to/cert.key
  • GRAYLOG_HTTP_EXTERNAL_URI = https://fqdn:9000/
  • GRAYLOG_HTTP_PUBLISH_URI = https://fqdn:9000/api/

Maybe someone can put me in the right direction
Graylog Version [4.0.5-1]


Okay so now I see something…

https://fqdn:9000/ ← Not found
https://fqdn:9000/api/ ← Login Screen

What kind of errors do you see in the log files (Graylog,Elasticsearch, etc…)?

This error normally occurs with Certificates but it could also be a misconfiguration.
I assume configuring HTTPS on any type of Graylog installations would be the same procedure.
There should be a few post here in the forum about HTTPS.
Maybe this might help.

As far as I can tell, there are no further errors when using the env variables listed above :grinning:
Syslog and Beats input are running fine, website is available and manageable when login is done over https://fqdn:9000/api/, unverified hostname error is also gone.
Only thing I noticed is that the docker integrated healthcheck is reporting the container as unhealthy because, as far as i understand the health shell script, the host is not reachable from inside?
And yeah, website not reachable, respectively “Not Found” if “/api/” is not appended to the URL

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