Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch- "SELF_SIGNED_CERT_IN_CHAIN" #9677

Closed
MichalMarchewka opened this issue Jun 7, 2024 · 2 comments
Closed

Elasticsearch- "SELF_SIGNED_CERT_IN_CHAIN" #9677

MichalMarchewka opened this issue Jun 7, 2024 · 2 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@MichalMarchewka
Copy link

MichalMarchewka commented Jun 7, 2024

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)

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jun 19, 2024
@Joffcom
Copy link
Member

Joffcom commented Jun 19, 2024

Hey @MichalMarchewka,

Thanks for the report, It looks like while the credential test fails the node should still work. I have popped in a PR that fixes the issue with the credential test. Once reviewed it will be merged and available in a future release.

@Joffcom Joffcom closed this as completed Jul 4, 2024
@Joffcom
Copy link
Member

Joffcom commented Jul 4, 2024

Good news this got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants