irgendwr / TelegramAlert

🔔 Telegram Notification Plugin for Graylog
https://irgendwr.github.io/TelegramAlert/
MIT License
131 stars 18 forks source link

Error: Failed to send Telegram messages. API request failed: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target #50

Closed ducna96 closed 1 year ago

ducna96 commented 1 year ago

Hi, i install graylog cluster, and install telegram plugin, but i get error when test alert. image please give me instruction to fix this error.

irgendwr commented 1 year ago

That sounds like your server does not have the root CA certificates set up correctly. This is not an issue with the plugin, but rather an issue with your system.

If you are using something like Ubuntu for example, you should install the ca-certificates and ca-certificates-java packages and then update the CA trust store via update-ca-certificates.

See https://ubuntu.com/server/docs/security-trust-store for more.