2amigos / yiiaws

Amazon Web Services SDK PHP 2 Wrapper
21 stars 15 forks source link

Facing Problem with SSL #22

Closed dxnabeel closed 11 years ago

dxnabeel commented 11 years ago

Following is the error I am getting when listing pipelines in ElasticTranscoder

"curl] 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"

I am using phar package and running it on local environment with WAMP. Curl version is 7.25.x

I will appreciate any help I can get on this.

tonydspaniard commented 11 years ago

Do not use the phar file, it is recommended not to use AWS phar file on production.

It seems that the error you are getting is for a wrong certificate setting.

zmilan commented 11 years ago

@dxnabeel there is some additional parameters that u need to set in configuration. Add this: /**

'ssl.certificate_authority' => true,

/**

'curl.options' => array ( 'CURLOPT_SSL_VERIFYPEER' => false, 'CURLOPT_SSL_VERIFYHOST' => false, ),

dxnabeel commented 11 years ago

@zmilan thanks for the fix. I really appreciate it. @tonydspaniard thanks for the info. as our application is critical, this will help me make it sure. :)

tonydspaniard commented 11 years ago

thanks @zmilan

zmilan commented 11 years ago

yw, thanks for this extension and others too :) @tonydspaniard