Issue with WordPress Updates.
When I was trying to update WordPress Plugins I was getting error:
“Download failed. SSL peer certificate or SSH remote key was not OK”
Issue is caused by DNS SERVER settings on the Hosting server. Problem is only with hosting set up with DNS pointing to open DNS Servers (126.96.36.199, 188.8.131.52)
3.1. In my case ( I use VPS with WHM) I did login to My WHM.
3.2. Then I went to “Networking Setup »Resolver Configuration”
3.3. Changed Open DNS servers (184.108.40.206, 220.127.116.11) to Google DNS 18.104.22.168 and 22.214.171.124
3.4. Go to Restart Services »DNS Server (BIND/NSD/MyDNS) and press “YES”
After That my updates are working again.