Several of our servers encountered this issue as well as disconnects from Akismet. Turned out to be a DNS issue. Are you using OpenDNS?
If your /etc/resolv.conf contains:
nameserver 208.67.222.222
nameserver 208.67.220.220
try changing to Google’s public DNS servers:
nameserver 8.8.8.8
nameserver 8.8.4.4
n2servers – THANK YOU!
Pulled my hair all afternoon dealing with SSL when it was the OpenDNS servers as you mentioned. I can confirm your solution works (restart Bind/Apache after change.)
I installed Google Analytics Dashboard for WordPress and after no more plugins can be installed.
this is the error message
Download failed. SSL peer certificate or SSH remote key was not OK
Could anyone help please.
Dmitri
drdmitri: See response by n2servers above. You’ll need to SSH into your VPS or dedicated server and perform some changes. If you’re on a shared host plan, your host will have to make these changes for you.
I am having this problem also, where I see the message: “Download failed. SSL peer certificate or SSH remote key was not OK” I don’t know what any of that is. I got this message downloading a plugin. I am not good at coding at all and I don’t know what SSH or VPS or DNS means. Is there an easy to understand tutorial somewhere?
I was having the same issue and sent a link to this thread to my host in a support ticket and they fixed it immediate. I would just try sending the link to them instead of trying to explain.
If you are on shared hosting, there is not much you can do. Contact your web host to edit the nameservers from those of OpenDNS, to Google, or their own pair of nameservers.
If you’re hosted on a dedicated server or on a VPS where you have root access, you will most likely know already what to do 😀
Sorry to get back here so late. My hosts fixed it in about 2 minutes.. all I had to do was go into my admin and reset databases.
All is good. I love my hosts.
I fixed this issue by simply repairing and optimizing the tables of my database. To do so, go into phpMyadmin select your database, select all the tables and choose repair and optimize in the dropdown.