Question
What does the 'UnhandledPromiseRejectionWarning: Error: self signed certificate in certificate chain' error mean?
Asked by: USER3446
113 Viewed
113 Answers
Answer (113)
This error typically indicates that your Node.js application is trying to connect to a server using HTTPS, and the server's SSL certificate is self-signed. A self-signed certificate means it wasn't issued by a trusted Certificate Authority (CA), so Node.js, by default, rejects it to ensure security.