ReasonJun

Nextjs error : cause: Error: unable to verify the first certificate 본문

Frontend/Next.js

Nextjs error : cause: Error: unable to verify the first certificate

ReasonJun 2023. 12. 19. 02:11
728x90

Problem : 

I'm using Nextjs 14 and wanted to utilize the layout folder to automatically load data when accessing the web. 

 

 

Why?

This is fine when sending requests from client to server, but when communicating from server to server in Nextjs, the difference between http/https causes problems. 

 

Can occur while the Next.js app is establishing an SSL/TLS secure connection. Typically, this error occurs when there is a problem with the certificate chain. Certificate chaining is about ensuring that the SSL certificate for a particular server is linked to a trusted root certificate.

Possible solutions include

Review the certificate chain: You need to make sure that the certificate is installed correctly. You can use the SSL Validation tool to do this.
Reinstall the certificate: If there was a problem installing the certificate, you need to reinstall the certificate.
Review your server settings: You need to make sure that your server is set up to handle SSL/TLS connections correctly.

 

https://www.reddit.com/r/nextjs/comments/pniwti/unable_to_verify_the_first_certificate/

 

From the nextjs community on Reddit: unable to verify the first certificate

Explore this post and more from the nextjs community

www.reddit.com

 

Solution

https://www.youtube.com/watch?v=Tjw7evZXsLI

 

728x90
Comments