Hello, I get these errors when I start Kibana. How do I "please set xpack.security.encryptionKey in kibana.yml"?
Hi,
Please use text ( wrapped in </>
) when sharing log output, instead of screenshots. It makes it easier to go through it, search for it, etc.
The message you get regarding the encryptionKey
is a warning. encryptionKey
is used in order to encrypt the user's credentials before they're stored in a cookie. Kibana auto-generates a secure one for you, if you don't explicitly set it, which is fine from an encryption perspective, but inconvenient as every time you restart Kibana, a new one is generated and all existing cookies will thus get invalidated.
You can use any string ( longer than 32 chars ) as theencryptionKey
but you want to make sure that it is random enough so that adversaries cannot guess it.
You generate a 32 char string, then open kibana.yml and you add a line like the following:
xpack.security.encryptionKey: <The string your generated above>
The error
messages you have highlighted in the picture were thrown because for some milliseconds, Elasticsearch was not up and running yet, it was resolved and all Status messages turned to green below.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.