Skip to content

StatementClientV1 self-signed certificate validation failure #14

@nhunter-eden

Description

@nhunter-eden

There are a couple issues in Trino.Client.StatementClientV1 that cause self-signed certificate validation to fail.

  1. The StatementClientV1 constructor initializes an HTTP client with the handler it defines, but it never actually saves that client to the object (line 149).
  2. The X509 chain status I observed when attempting to validate a self-signed cert was not an UntrustedRoot (line 140) but rather a PartialChain with the status information, "A certificate chain could not be built to a trusted root authority."

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