I have very simple Node.js Application to connect my local Elasticsearch engine, when I try to use Kibana, I can connect after provide user and email but when I try to send ping from my Node.js app It gives following error:
ConnectionError: self-signed certificate in certificate chain
Welcome to the community! For future issues just a heads up that it's easier to read code as code text snippets rather than an image.
You're correct that the error relates to a certificate issue. There is an example of how to configure the certificate for the client in this stackowerflow issue. Let us know if that solves the issue.
So you would need to specify the path to your certificate or the generated fingerprint when you start. There is more detail, and an example using tls here in the documentation that might help.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.