Skip to content

UNABLE_TO_GET_ISSUER_CERT_LOCALLY #743

@felixhummel

Description

@felixhummel

Describe the bug
The inspector cannot connect to self-signed certificates.

To Reproduce
Steps to reproduce the behavior:

  1. run a webserver with a self-signed cert (e.g. caddy in development with TLS enabled)

Expected behavior
Can connect without error.

Logs

  [cause]: Error: unable to get local issuer certificate
      at TLSSocket.onConnectSecure (node:_tls_wrap:1679:34)
      at TLSSocket.emit (node:events:507:28)
      at TLSSocket._finishInit (node:_tls_wrap:1078:8)
      at ssl.onhandshakedone (node:_tls_wrap:864:12) {
    code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'
  }

Additional context
The inspector could use the system trust store.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions