How To Fix An Error "SSL certificate problem: unable to get local issuer certificate"

This error can be encountered while upgrading WordPress or installing a WordPress plugin from the WordPress admin area.

ssl-error

Following is one of the solutions to fix this issue in windows server:

 

  1. Download cert.pem from the URL http://curl.haxx.se/docs/caextract.html

  2. Copy the cert.pem file to your php installation folder. Generally, the php.ini path should be C:\Program Files (x86)\PHP\vx.x\ so you will need to copy the cert.pem file to the same folder.

  3. Edit your php.ini file and add the following line under curl section.  Do not forget to replace the PHP path.
curl.cainfo = "C:\Program Files (x86)\PHP\vx.x\cacert.pem" 

SSL-certificate-problem-php-ini
  1. Save the php.ini file and restart the IIS. Run the following command to restart the IIS:
iisreset /restart

SSL-certificate-problem-iis-reset

Now, try to install a plugin or upgrade the WordPress and this should fix the issue.

Related Articles

How to Install and Configure W3Total Cache WordPress Plugin?

Installing a caching plugin is the most effective way to accelerate the page loading speed of...

How to fix an error SSL certificate problem, verify that the CA cert is OK?

You may encounter this error while performing actions like theme/plugins installation or...

Fix-Your PHP installation appears to be missing the MySQL extension which is required by WordPress

Usually, this error does occur when you are using an incompatible PHP version with your current...

How to Use WP_DEBUG?

Introduction PHP is a well known programming language used by Wordpress having its own debugging...

How to uninstall WordPress completely from cPanel?

You may require to remove Wordpress installation if you have installed it on an incorrect Path or...

  • 0 Users Found This Useful

Was this answer helpful?