I am able to make sidecar send logs over HTTP without any issues. But when I am using the HTTPS (Apache) link for API, it’s giving me an error saying “level=error msg=”[UpdateRegistration] Bad response from Graylog server: 404 Not Found" ".
I tried configuring https for API using Keytool and in that case, I am not able to access graylog WebUI. I am completely stuck and need help with this.
Could you share your apache config?
Which GL version do you run? After 2.5 or 3.0 the api don’t needed AFAIK.
I am using the latest version of Graylog which 3.2.4
So, in Graylog 3.2.4 how to enable HTPs access for APIs?
the /api part in your proxy config.
Check the GL docs for YOUR gl version.
Thats where I am getting confused. All the Graylog documents talk about setting up proxy for 127.0.0.1:9000 but I am not able to find any document related to API using Apache HTTPS.
If you have a link to the document that I need to go through, it will be of great help if you can share that link with me?
Thanks,
Rajesh
what I usually use:
Okay. Will try.
What method are you using to secure your API? if you are using Apache, can you share your configuration with me?
Thanks,
Rajesh
I use nginx. I use the same config as it in the graylog docs.
Okay. When you use Nginx, does it work for API as well? I mean when you configure Sidecar, do you use https://{API} and it works without any problem?
I don’t use https for sidecars, because I use it for internal usage only.
But /api part of the webpage is available. Eg. api browser, etc.
I suggest use the GL docs, and community forum’s search option. There are a lot of information about the proxys and api access.
Got it… Will try to find the solution on google. Thanks…!
