Kibana Apache password verification Login
After installing Kibana, you can access it directly, which is not secure. Next we will use Apache password authentication for security configuration.
The apache configuration file is as follows:
<VirtualHost *: 8080>
DocumentRoot/data/kibana
ServerName localhost
ErrorLog "/data/kibana/logs/kibana-error.log"
CustomLog "/data/kibana/logs/kibana-access.log" common
<Directory "/data/kibana">
Options Indexes
AllowOverride AuthConfig
AuthType Basic
AuthName "Authenticated proxy"
AuthUserFile/data/kibana/. htpasswd
Require valid-user
Order allow, deny
Allow from all
</Directory>
</VirtualHost>
AuthUserFile/data/kibana/. htpasswd
This is the file for storing the password.
Next, generate the password.
# Htpasswd-c/data/kibana/. htpasswd user
# New password:
# Re-type new password:
# Adding password for user bidduser
In this way, a password is generated for the user.
Visit again
This article permanently updates the link address: