In order to use alerts in ELK I followed the mentioned steps but always found some error while starting up the local elasticsearch and kibana servers. Kindly help me know where I went wrong .
step 1 :creating certificateauthority by command (keeping default name and password)
step 2: creating certificate by (giving default name and password)
"elasticsearch-certutil cert --ca elastic-stack-ca.p12"
step 3: creating certs folder in config of elasticsearch
step 4: copying .p12 certificate in certs folder
step 5 :Enable TLS and specify the information required to access the node’s certificate by
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12 "
step 6 : copying ca in Kibana's config
step 7: restart elasticsearch server and kibana server