Download failed. cURL error 60: SSL certificate problem: certificate has expired

Viewed 13233

I'm getting this error "

Download failed. cURL error 60: SSL certificate problem: certificate has expired

while installing the plugin on Wordpress.

I have tried many solutions where they said to create php.ini in the wp-admin directory and give an absolute path to "cacert.pem" I've done as many solutions suggested.

Here is the path I'm giving in php.ini curl.cainfo=/shop/wp-admin/cacert.pem .

Wordpress is installed in shop directory.

I'm still getting the same error. Any ideas what might be the problem? Thank you

2 Answers

The certificate is expired. This cannot be solved by updating the trust store (cacert.pem) but only by updating the certificate the server sends.

The expiry date of the certificate is 08/12/2018. And they automatically update it when expired.

Given that the validation is done against the certificate send by the server within the SSL handshake and not against some locally cached copy it looks like they've failed to update the certificate, i.e. something with the automatic process went wrong. Again, this is a server side problem and there is nothing the client can do to fix it except ignoring the problem (i.e. disabling validation) - which is of course not recommended.

if you have the plugin file upload that .zip file from the control panel.

Go to the file Structure -> wp-content->plugin-> upload the zip file-> Extract the zip file-> go to the Wordpress admin panel->Active the plugin from plugin section.

Related