I get this error when auto-updating the plugin: "Download failed. SSL peer certificate or SSH remote key was not OK"

If you are using shared or managed hosting, contact your host's customer support department, provide them with this information and ask them to do it for you.

Some customers have reported receiving the following error when attempting to auto-update GravityView:

“Download failed. SSL peer certificate or SSH remote key was not OK”

This is an OpenDNS issue

The server is using OpenDNS to look up information about domains; this error is specific to OpenDNS. This is not an issue with your website or with GravityView's SSL certificate, the problem is with OpenDNS. The changes below will have your server use  Google's Public DNS servers instead of OpenDNS DNS servers to look up information about a domain.

To fix the issue:

  1. FTP or SSH into your server
  2. Go to /etc/resolv.conf
  3. Replace this code:
    nameserver 208.67.222.222
    nameserver 208.67.220.220
    	

    With this code:

    nameserver 8.8.4.4
    nameserver 8.8.8.8
    	
  4. Save the resolv.conf file
  5. Restart the Apache server (the commands vary, based on your server software)
  6. You should now be able to update GravityView!

This article's information is based on the article on Siteber and this WordPress.org thread.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us