Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID

hii
I have got this error (“Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID”) in the console while i was trying to access the api from my website on local server.
I am using jquery to get access to the api.
can anyone help me to get rid of this error.