Open
Description
Optionally set the NODE_EXTRA_CA_CERTS
environment variable to the point to the created bundle.crt
.
This will fix errors similar to:
FetchError: request to https://****** failed, reason: unable to verify the first certificate
at ClientRequest.<anonymous> (/usr/local/lib/***)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:502:9)
at TLSSocket.emit (node:events:525:35)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Activity