HiBlog
  • Home
  • Blog
  • Category
    • Most Interesting
      Most Interesting Posts
    • HiCademy
      Hosting and Server Articles
    • HiTube
      Educational Videos
    • HiCast
      Interesting Podcasts
  • About us
  • Contact Us
FA
EN
RU
Language:
FA
EN
RU
Article Stats
N/A
Category
Ali Ghanimati
Author
8 November 2025
Release Date
106
Views
FA
EN
RU
Post Languages
How to Fix cURL Error 60 SSL Certificate Problem When Updating WordPress Plugins

How to Fix cURL Error 60 SSL Certificate Problem When Updating WordPress Plugins

Table of Content

Article Stats
  1. Cause of cURL error 60 in WordPress
  2. Method 1: Replacing the Certificate File with the Updated cacert.pem Version (Main and Recommended Method)
  3. Method 2: Updating PHP and cURL Version
  4. Method 3: Configure the SSL Certificate Path in php.ini

The cURL tool is a key component for establishing communication between the server and external resources. WordPress uses cURL (or similar PHP functions) to send HTTP and HTTPS requests when updating plugins, themes, or even when communicating with API servers.

In fact, whenever WordPress needs to connect to another server, it uses cURL to send data and receive the response. If there is a problem in the SSL certificate verification process, cURL returns an error titled cURL error 60: SSL certificate problem.

Cause of cURL error 60 in WordPress

This error usually occurs when the Root Certificates file on your server is expired or outdated. WordPress uses a file named /wp-includes/certificates/ca-bundle.crt to validate SSL. If one of the certificates in this file is invalid, cURL cannot complete the SSL trust chain and error 60 appears.

A prime example of this was when the DST Root CA X3 root certificate expired, and many WordPress sites suddenly encountered cURL errors.

Method 1: Replacing the Certificate File with the Updated cacert.pem Version (Main and Recommended Method)

This method involves downloading the updated version of the certificate file (cacert.pem) from the official cURL project source and replacing the contents of the ca-bundle.crt file in the WordPress path. In many cases, this resolves the SSL validation issue and the cURL error 60.

  • Download the New Certificate File:
    Visit the official cURL website and download the new file from the following address:
    https://curl.se/ca/cacert.pem
  • Back Up the Current WordPress File:
    Go to the /wp-includes/certificates/ path and create a backup of the ca-bundle.crt file so you can restore it if needed.
  • Replacing the New File:
    Open the downloaded cacert.pem file and copy its entire content. Then, replace the content of the ca-bundle.crt file with it (or place the new file in the same path with the same name).


Now, open your WordPress site and try updating the plugins again. In most cases, the cURL error 60 will no longer be displayed.

Method 2: Updating PHP and cURL Version

If the above method does not work, your cURL or PHP version may be outdated and not support the new encryption algorithms.

To change the PHP version of your hosting to higher versions, you can do the following:

  • Enter the Select PHP Version option in your cPanel.
  • You can change the PHP version of your hosting account through the “Current PHP Version” option in the menu.
  • Set the PHP version to a version other than native.

If you are using MultiPHP to configure your hosting’s PHP:

  • Enter the MultiPHP Manager option in cPanel.
  • Select the domain name where your website is created and for which you want to change the PHP version, and activate the checkbox on its left.
  • In the menu opposite “PHP Version”, you can set the desired PHP version. By clicking “Apply”, the desired version will be set.

Method 3: Configure the SSL Certificate Path in php.ini

In some cases, the certificate file path may not be configured correctly in PHP. To ensure this:

  • Open the php.ini file.
  • Look for a line similar to the following:

curl.cainfo =

  • Enter the new cacert.pem file path in this section, for example:

curl.cainfo = "/public_html/wp-includes/certificates/ca-bundle.crt"

The cURL error 60 SSL certificate problem is one of the most common communication issues in WordPress, which is usually resolved by replacing the old certificate file with the updated cacert.pem version.
If this method is not effective, it is best to check the PHP version, cURL, or the certificate path in php.ini.

By following these steps, you can ensure that plugin and theme updates will be performed without SSL errors, and your WordPress secure connection will remain stable.

Share Post
hidata.org/en/blog/how-to-solve-curl-error-60-ssl-certificate-problem/
Copy Link
In Social Media

Add Comment

You’re replying to
captcha
Web Hosting
  • Professional cPanel Hosting
  • High-Traffic cPanel Hosting
  • File Hosting
Dedicated Server
  • Europe Dedicated Server
About HiData
Hi Data
Good Hosting Experience
Since April 2014, HiData has been hosting thousands of online businesses with strong and premium infrastructure in the best datacenters in Iran and worldwide. We use new-generation servers with powerful processors, high-capacity networks, and strict data security policies to meet your hosting needs at the highest standards. Our support team is available 24/7 through ticket and phone. Speed, stability, and peace of mind are not just promises. They are the identity of HiData.
Virtual Server
  • Germany NVMe VPS
  • Russia NVMe VPS
  • Turkey SSD VPS
  • Germany SATA VPS
  • Storage VPS
  • Cloud VPS
Other Services
  • Domain Services
  • Licensing System
  • Reseller
Phone 1: +98-9009019
HiTube HiCademy HiCast HiBlog
Address
HQ Address: Unit 8, 2nd Floor, Tala Commercial Complex, Imam Khomeini St., Abhar
Contact Phones
+98-9009019
24/7 Support
Support Email: info@hidata.org
© 2025 HiData
All rights reserved for hidata.org
HiData Store
The best prices for the world's leading brands