i am getting the following warnings

* user warning: S3::listBuckets(): [60] SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in C:\Documents and Settings\jacobbj\Sites\acquia-drupal-site\acquia-drupal\sites\all\modules\amazon_s3\s3.inc on line 90.
* warning: Invalid argument supplied for foreach() in C:\Documents and Settings\jacobbj\Sites\acquia-drupal-site\acquia-drupal\sites\all\modules\amazon_s3\amazon_s3.module on line 280.

How can i fix these?
Am i missing something, which may cause this problem?

Thank you.

CommentFileSizeAuthor
#2 aws_ssl_setting.patch1.75 KBtom friedhof
amazons3.JPG89.88 KBjacobbj

Comments

andrewko’s picture

You can remove the error message by disabling SSL for the module by changing line 88 of amazon_s3.module to:

$s3 = new S3($aws_access_key, $aws_secret_key,false);

Obviously you'll loose out on the SSL encryption by changing this.

tom friedhof’s picture

StatusFileSize
new1.75 KB

Here is a patch that adds a new setting to the settings page with your access credentials that allows you to disable SSL through the admin settings.

I also rewrote the the settings form to use the system_settings_form submit handler and removed the custom submit handler.

torgospizza’s picture

Status: Active » Fixed

Committed to CVS, revision 1.1.2.1.

Status: Fixed » Closed (fixed)
Issue tags: -Amazon S3

Automatically closed -- issue fixed for 2 weeks with no activity.