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 18.104.22.168 nameserver 22.214.171.124
With this code:
nameserver 126.96.36.199 nameserver 188.8.131.52
- 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!