API not working, locally or remote via CURL

Hi Guys,

I seem unable to query/check the API when ever I run
curl -H ‘X-Auth-Token: xxxxxxx’ https://xxxx.xxxx.xxx/api/v0/oxidized

Can any one help with the error I am getting

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: curl - SSL CA Certificates

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Hi,
is your Webserver pointing to LibreNMS running with a valid SSL Certificate and does listen on Port 443?
If so and you use a self signed certificate try curl with ‘-k’ option.

Ok - with the -k it works for a curl.
Any way I can get the oxidized process to do that too?

maybe this helps?