/plugin-install.php error

In the The Add New Plugin Screen I got the message

“no plugins found, try another search” (I haven’t done any search, just entered the screen). And below that: “a fatal error on the site, check admin email for instructions” (no email seems to be sent).

I still got the link to install the ClassicPress Directory Integration plugin at the very top of the page, trying to do that gives me the error message:
cURL error 60: SSL certificate OpenSSL verify result: unable to get local issuer certificate (20)

I upgraded from 2.7.0 to latest release a week ago or so, I’m not sure if I had the error before or not. I just uploaded all files again, to be sure nothing went wrong in the upgrade. I’ve deactivated all plugins and activated one of the default themes. I also double checked the admin email address.

This isn’t really a big issue for me, I’m happy to install plugins the old fashioned way, but I don’t know if this error may cause any other problems.

The cURL error 60 certificate issue has shown up previously on the forum, and I think was resolved, so you might search that to see whether it applies to your issue.

Thank you for answering. I searched as you suggested, found some posts, but didn’t really know what could be relevant to my problem. But I sent what I found to my host, and since they probably have the best support ever, they solved the problem by switching the file wp-includes/certificates/ca-bundle.crt to a newer one. Strange, because I already had the latest CP version, and I have no idea what the difference was in the new file vs the one I got.

Problem solved!

2 Likes

If you are using nightly (and sometimes the stable version) this error can pop up exactly due to the certificate issue. This was discussed on Zulip, here and during the last core team meeting in Zulip core channel. I think Matt found an issue with the build process related to this and there is an open PR to solve it but I was’nt able to follow everything on GH due to some personal things I had to attend to. Your hosting swapping the certificate file was the right solution.

3 Likes