1. Symptom

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”



2. Cause

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 (,

3. Solution:

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 (, to Google DNS and


3.4. Go to Restart Services »DNS Server (BIND/NSD/MyDNS) and press “YES”


After That my updates are working again.