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 18.104.22.168 and 22.214.171.124) to those of google 126.96.36.199 and 188.8.131.52 you will need to restart bind and apache for this to take effect.