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 (18.104.22.168, 22.214.171.124)
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 (126.96.36.199, 188.8.131.52) to Google DNS 184.108.40.206 and 220.127.116.11
3.4. Go to Restart Services »DNS Server (BIND/NSD/MyDNS) and press “YES”
After That my updates are working again.