Whenever setting the password for the web interface ( root_password_sha2), it doesn’t seem the accept the password that I either hashed or in plain text.
OS Information: Ubuntu 20.04 LTS
Package Version: Graylog 4.2
Service logs, configurations, and environment variables:
password_secret = ECG27k3nqcYFJPU7WNCyvD6TslPTjrs8pzXrWYpqkbU7pR9iKtzhRQQecocyutiQT33fyPNOIGD3ePaOVPlT9hTFuReFqHK
# The default root user is named 'admin'
root_username = admin
# You MUST specify a hash password for the root user (which you only need to initially set up the
# system and in case you lose connectivity to your authentication backend)
# This password cannot be changed using the API or via the web interface. If you need to change it,
# modify it in this file.
# Create one by using for example: echo -n yourpassword | shasum -a 256
# and put the resulting hash value into the following line
root_password_sha2 = 0fd25c61a9504670e24334d6c5fb6c07a50aef89802a73a9ab20007a3ec778be
I tried to change the root_password_sha2, the root_username, creating new passwords with the given options on the forums and in the config file.
Anybody has with some other options that can be done?
Also, if more information is necessary, let me know, so I can edit it.
I have done that, but it keeps repeating the login prompt. It does not work.
The password gets hashed, but whenever I use the unhashed thing, it once again prompts for login credentials.
I have tried this, to no avail. The prompt for the login credentials keeps coming back. I tried different passwords, updated the root_password_sha2 accordingly, but the prompt keeps showing up, asking for login credentials.
The logs don’t show anything regarding this, but they do show the error of not being able to find the correct path to the Self Signed certificates. I am 100% sure these are the correct paths (/etc/graylog/server/cert.pem and /etc/graylog/server/pkcs8-encrypted.pem).
Yes, it automatically goes for HTTPS. But currently, there are some other issues which I have to resolve. This topic can be closed, as it is no longer relevant.
Thank you for your time and patience.