n8n icon indicating copy to clipboard operation
n8n copied to clipboard

Elasticsearch- "SELF_SIGNED_CERT_IN_CHAIN"

Open MichalMarchewka opened this issue 8 months ago • 1 comments

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

  1. Create Elasticsearch deployment with self-signed certificate (default certificate generated during Elasticsearch installation)
  2. Note or re-generate password for 'elastic' built-in user
  3. Use proper credentials when configuring Elasticsearch node
  4. Test credentials
  5. Couldn’t connect with these settings SELF_SIGNED_CERT_IN_CHAIN will be printed

image

image

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)

MichalMarchewka avatar Jun 07 '24 22:06 MichalMarchewka