most probably this is an error related to Rest API provider,the certificate might have expired or may be wrong.
for local development u can hit the URL on browser and download the certificate from there and import it in Mendix in settings[Like u have done in screenshots]