Skip to content

Failed to connect to ES server: SSL peer certificate or SSH remote key was not OK #8

@TLINDEN

Description

@TLINDEN

My test server uses a self signed certificate, so I need to be able to disable cert validation. Is that possible?

Currently I'm getting:

cat ~/.config/es-cli/config.json ; echo; es health
{
  "clusters": {
    "cluster1": {
      "host": "https://elastic:9206"
    }
  }
}

[2026-05-18T12:16:13.2507] 102588: [es:error] health error : (60) SSL peer certificate or SSH remote key was not OK
https://elastic:9206 error (60) SSL peer certificate or SSH remote key was not OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions