HTTP Issue: x509: certificate signed by unknown authority


I’m working on a tidbyt app that’ll show the current power generation of my solar panels. I’m able to make requests to them over my network with Postman, but when I use the ‘http’ module, I keep getting back “x509: certificate signed by unknown authority Issue”. I’m really not sure of the best way to get around this, so any advice is welcome. Thanks!

This usually means you’re using a self-signed certificate on whatever system you’re calling, and the library can’t trust the call as secure. Are you calling a locally hosted application (an IP address like, or something on the internet (https://…com)?

Postman has the ability to ignore these errors, and you may be able to insert a flag to pass security checks in the http library.