ssl 2026-11-28

How to Fix cURL Error 60: SSL Certificate Problem (WordPress & PHP)

How to Fix cURL Error 60: SSL Certificate Problem (WordPress & PHP)
Quick Answer: cURL error 60: SSL certificate problem means either your PHP server lacks an up-to-date cacert.pem bundle in php.ini (curl.cainfo), or the remote server has an incomplete CA chain.

Fix for Localhost / PHP Servers

  1. Download the latest cacert.pem from curl.se.
  2. Set curl.cainfo = "/path/to/cacert.pem" and openssl.cafile = "/path/to/cacert.pem" in php.ini.
  3. If testing locally, also read our Localhost XAMPP HTTPS guide.
🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.

免费 SSL 证书签发、在线 SSL 检测与 CSR 生成器

无需复杂服务器配置,60 秒快速获取 Let's Encrypt 与 Buypass 信任的 HTTPS 证书。

Related Articles