Skip to content

After core update 3.22.1, node container is not able to fetch with https from drupal container on mac #85

@vermario

Description

@vermario

Hello!

We maintain this starterkit for Drupal and next.js:
https://github.com/wunderio/next-drupal-starterkit

And we have been using lando with it for a long time.
After the latest update, our node service is not able to fetch from our Drupal service anymore using https. We get this error:

TypeError: fetch failed
    at node:internal/deps/undici/undici:12344:11
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  cause: Error: unable to verify the first certificate
      at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34)
      at TLSSocket.emit (node:events:518:28)
      at TLSSocket.emit (node:domain:488:12)
      at TLSSocket._finishInit (node:_tls_wrap:1085:8)
      at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:871:12) {
    code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
  }
}

I saw in the list of commits that the latest release for core had some changes in the handling of certificates, and also the mac prompted for my password to do changes to the certificates settings when installing the update.

This is the lando file: https://github.com/wunderio/next-drupal-starterkit/blob/main/.lando.yml
Node version is: v.20.11.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions