'Failed to setup Alerts and Actions for ELK - You must enable Transport Layer Security
Am trying to setup the Alert and Actions for ELK. But, getting the error message
- You must enable Transport Layer Security.
Have already set up the following parameter in the kibana.yml. As followed:
xpack.encryptedSavedObjects.encryptionKey: "abcdefghijklmnopqrstuvwxyz1234567890"
Pls advise.
Thanks
Solution 1:[1]
xpack.encryptedSavedObjects.encryptionKey: "abcdefghijklmnopqrstuvwxyz1234567890"
With only this, you don't enable the transport layer security.
There are two more steps you need to do.
- Enable security in Kibana and Elasticsearch. (Relatively easy!)
- Encrypt traffic between them. (You might need to get your org-specific certificates if you are not using Self signed1)
Solution 2:[2]
When you use the basic and trial licenses , Set xpack.security.enabled: true and discovery.type: single-node in elasticsearch.yml file
https://www.elastic.co/guide/en/elasticsearch/reference/6.8/get-started-enable-security.html
and then xpack.encryptedSavedObjects.encryptionKey : A string of 32 or more characters in kibana.yml
After updating the config file please restart the elastic and kibana .
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Aravind |
| Solution 2 | Shanmuga PriyaV sp |
