I am providing an intermediate certificate of a remote server through NODE_EXTRA_CA_CERTS.
When I do this locally, it works wonderfully by just prepending the node-scripts:
"dev": "NODE_EXTRA_CA_CERTS='./certs/intermediate.pem' next dev",
On netlify, I created the environment variable
NODE_EXTRA_CA_CERTS with the value of
But when I look into the logs of the serverless function which is making the fetch, I see the following warning:
Warning: Ignoring extra certs from ./certs/intermediate.pem
, load failed: error:02001002:system library:fopen:No such file or directory
Does anyone have an idea, how the remote path to the certificate should look like to not being ignored?