Error: self signed certificate in certificate chain

I try to configure Storyblok with Next.js following this tutorial
and when I have everything set I get the following error:
`Server Error
Error: self signed certificate in certificate chain

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
_tls_wrap.js (1497:34)
events.js (315:20)
_tls_wrap.js (932:8)
_tls_wrap.js (706:12)`

Can anyone help me with this?

Hi Gabriela,

this seems to be connected to the Node.js environment and the SSL communication. There is different ways this can be resolved and this thread goes into detail, how the problem can be resolved:

The easiet would probably to try and run npm config set strict-ssl=false and see if that helps to resolve the issue.


Thanks Lisi for the hint. I resolved it with the usage of configuration settings in the .env.development.local:

I might be true that it’s equivalent to what you suggested, but I haven’t trued to run the npm command.