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:
- FTP or SSH into your server
- Go to /etc/resolv.conf
- Replace this code:
nameserver 184.108.40.206 nameserver 220.127.116.11
With this code:
nameserver 18.104.22.168 nameserver 22.214.171.124
- Save the resolv.conf file
- Restart the Apache server (the commands vary, based on your server software)
- You should now be able to update GravityView!