mm_s3 Module

islandpinnick - June 11, 2009 - 19:50
Project:Media Mover
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I was trying to install and get connected to AWS but am unable to connect via SSL. Correct me if I'm wrong but it shouldn't assume an SSL connection right? It should be an option? I've attached a patch that adds a "Use SSL" checkbox to the config page.

AttachmentSize
mm_s3.patch2.38 KB

#1

arthurf - June 11, 2009 - 20:12

As far as I know, in order to upload you need to connect with ssl. Have you tried the upload test functions to check to see if your information is correct? Also, do you have curl compiled into your php?

(if I'm wrong, I'll happily accept your patch, i'm just not sure it is needed)

#2

islandpinnick - June 11, 2009 - 20:44

When I try to submit without the patch, I get this error when I try to save my settings and cannot complete the test:

There was an error in your S3 account information:
60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Please update your settings

When I turn it off, I can save and can do the test. I was also able to upload a sample file using ffmpeg -> s3. I also saw this page on Amazon: http://aws-portal.amazon.com/gp/aws/developer/account/access-identifier-...

Yes, curl is enabled.

#3

arthurf - June 11, 2009 - 20:51

Ok... I'm not sure why this is happening- I've never had an issue with it, however, it maybe that the default configuration for your curl is different? Just guessing here.

At any rate, I'll apply your patch, but what I'd like to do is setup a SSL check in the test function that will try with SSL first, and then fall back to non-ssl, change the settings, and alert the user.

#4

islandpinnick - June 11, 2009 - 20:55

My curl and Amazon settings are both default. I haven't made any customizations. I think that's a better idea, though, with the SSL check. I'm not attached to the patch :) Just figured I'd attach it just in case it can help out.

 
 

Drupal is a registered trademark of Dries Buytaert.