X509: certificate signed by unknown authority


I successfully installed the lora server project and have access to the web interface of the app server. However, the packed forwarder needs to send the data to an https address so a ssl certificate is needed. I created this certificate with lets encrypt and added the path to the dsn of the lora and app server.

dsn=‘dbname=loraserver_ns user=loraserver_ns password=dbpassword host=localhost sslmode=require sslcert=/PATH/cert.pem sslkey=/PATH/privkey.pem sslrootcert=/PATH/fullchain.pem’

After solving some accessibility issues I got the following error:

error=“x509: certificate signed by unknown authority”

Does anyone have any idea about how to solve or work around this problem.