Guides › HTML / PHP sites › Security & hacks

PHP cURL 'SSL Certificate Problem: Unable to Get Local Issuer Certificate'

Your script cannot verify a secure site. Fix the CA bundle instead of disabling verification.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.

cURL (error 60) means PHP could not verify the other server's certificate chain.

Safe fixes

Do not do this

Setting CURLOPT_SSL_VERIFYPEER to false makes the error vanish but removes protection against interception. Use it only for local testing.

WordPress

Plugins calling outside APIs can show the same message. See our Site Health guide.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.