n8n
n8n copied to clipboard
Elasticsearch- "SELF_SIGNED_CERT_IN_CHAIN"
Bug Description
Unable to connect to Elasticsearch when self-signed certificate is used in ES. Response when testing credentials: "SELF_SIGNED_CERT_IN_CHAIN". Also HTTP request does not work, even no error message in response. "Ignore SSL issues" option is selected.
To Reproduce
- Create Elasticsearch deployment with self-signed certificate (default certificate generated during Elasticsearch installation)
- Note or re-generate password for 'elastic' built-in user
- Use proper credentials when configuring Elasticsearch node
- Test credentials
-
Couldn’t connect with these settings SELF_SIGNED_CERT_IN_CHAIN
will be printed
Expected behavior
Even if Elasticsearch has self-signed certificate the communication with ES should be permitted from n8n.
Operating System
Ubuntu Linux 22.04
n8n Version
1.42.1
Node.js Version
18.20.3
Database
SQLite (default)
Execution mode
main (default)