Next.js Discord

Discord Forum

UNABLE_TO_VERIFY_LEAF_SIGNATURE

Answered
gena posted this in #help-forum
Open in Discord
Im trying to fetch some data from my external backend (node + express) in a NextJs 14.2.5 server component, but for some reason it fails in development and crashes when building to production in Vercel.

The API URL is 'https://filehost.comidolar.com.ar:6060/api/blackmaps/mapgallery'

I've red this is a SSL Certificate issue but I couldn't find any solution that fixes my problem.
This is not a NextJs related issue given that I've tried the same with other Server Side Frameworks and i got exactly the same error.
Answered by gena
Solved. Solution was to add the ca_bundle.crt certificate to my already server.crt and private.key.
View full answer

1 Reply

Solved. Solution was to add the ca_bundle.crt certificate to my already server.crt and private.key.
Answer