cURL issue with backwpup for Wordpress

Posted by Michael Palmer on Thursday, August 18, 2011

I noticed my Amazon S3 backups weren’t running lately using backwpup for wordpress.

Took a little digging, but I had to take the certificate verification out of the amazon aws php api.

wp-content/plugins/backwpup/libs/aws/lib/requestcore/requestcore.class.php: Commented out line 614:

1
//curl_setopt($curl_handle, CURLOPT_TIMEOUT, 5184000);

Changed line 624 and 625 to false:

1
curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false);         curl_setopt($curl_handle, CURLOPT_SSL_VERIFYHOST, false);

Ended up working great after that.

Related articles* BackWPup: WordPress S3 Backup Plugin (bloggingot.com)


comments powered by Disqus