API responding with `Error: Unable to get local issuer certificate`

I am trying to hit our enterprise github API endpoint to retrieve the app installation details.

I get the following error while hitting the API from local/postman

Error: Unable to get local issuer certificate.

However, works fine in browser.

I tried adding user-agent as my app name, but to no avail.

How do I fix this ?

Hi @freakomonk, welcome to the community we are happy you are here! The error means your local Git client either can’t find the certificate or there’s a problem with the specified certificate file.

For further assistance, I recommend contacting your local IT Help Desk or the administrators of your GitHub Enterprise Server appliance. You should be able to do this from the bottom of any GitHub Enterprise page by clicking Support. If your GitHub Enterprise administrators have questions or need assistance, they can open a support ticket with us.

1 Like