Hi all,
I'm trying to send alerts via email.
This is the configuration that I added to elasticsearch.yml
xpack.notification.email.account:
exchange_account:
profile: outlook
email_defaults:
from: email@company.com
smtp:
auth: true
starttls.enable: true
host: exchange-server
port: 25
user: MyID
password: xxxx
I get always this error in my watch:
"caused_by": {
"type": "messaging_exception",
"reason": "Could not convert socket to TLS",
"caused_by": {
"type": "s_s_l_handshake_exception",
"reason": "sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
"caused_by": {
"type": "validator_exception",
"reason": "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
"caused_by": {
"type": "sun_cert_path_builder_exception",
"reason": "unable to find valid certification path to requested target"
}
}
}
}
Can anyone help me ?