API Call "unable to verify the first certificate"


I havent made any recent changes but I am getting an API Error
“unable to verify the first certificate”.

The host I am connecting to said “There was an issue with the SSL certificate this morning, which has since been updated.” In some way is this connected, and how do I resolve this?