Cyb3rWard0g / HELK

The Hunting ELK
GNU General Public License v3.0
3.73k stars 675 forks source link

500 Server Error from NGINX Proxy #545

Closed srlucken closed 3 years ago

srlucken commented 3 years ago

Describe the problem

When attempting to access the Kibana URL, after entering the credentials, I would receive a "500 server error" from NGINX

What steps did you take trying to fix the issue

The root of this issue was caused by nginx getting a permission denied message when attempting to read /etc/nginx/htpasswd.users. This caused NGINX to be unable to authenticate the user. I added an extra line to the helk-nginx/Dockerfile to resolve the issue "RUN chmod 644 /etc/nginx/htpasswd.users" then restarted the container. I can now successfully authenticate to Kibana.

How could we replicate the issue

As a non-root user I followed the exact steps from the installation documentation. git clone https://github.com/Cyb3rWard0g/HELK.git cd HELK/docker/ sudo ./helk_install.sh Installed using option 4 The installation completed successfully, but I was unable to authenticate to Kibana.

neu5ron commented 3 years ago

thanks @srlucken was this an ubuntu or centos build?

srlucken commented 3 years ago

This was an Ubuntu 18.04LTS build.

Thank you for your time on this project, it's really great.

On Sat, May 8, 2021 at 8:22 PM Nate Guagenti @.***> wrote:

thanks @srlucken https://github.com/srlucken was this an ubuntu or centos build?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Cyb3rWard0g/HELK/issues/545#issuecomment-835634230, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJKCBKQ5KFO5DYWDBHHBHMTTMXWXTANCNFSM4YPOHQ7Q .