Just a heads up for those getting the following error message when updating plugins or themes and getting an error message like this.
“Download failed.: SSL peer certificate or SSH remote key was not OK”
This isnt related to SSL but the fact that your VPS or Dedicated servers may be using open dns for domain resolution, as of late it appears that they are being a bit flakey.
You can resolve this easily by editing your /etc/resolv.conf file (ask your host if you dont have access) and changing the entries for OpenDNS (usually you will see 188.8.131.52 and 184.108.40.206) to those of google 220.127.116.11 and 18.104.22.168 you will need to restart bind and apache for this to take effect.