Vinelab / cdn

CDN Assets Manager Package for Laravel.
MIT License
214 stars 71 forks source link

Updated AWS3provider and added option to add pem certificate while cr… #94

Closed mmubasharsheikh closed 8 years ago

mmubasharsheikh commented 8 years ago

I have found an issue while using this package. The issue was :

**

[Aws\S3\Exception\S3Exception] Error executing "ListObjects" on "https://s3.eu-central-1.amazonaws.com/**************?encod ing-type=****"; AWS HTTP error: cURL error 60: Peer certificate cannot be authenticated with given CA certificates

[GuzzleHttp\Exception\RequestException] cURL error 60: Peer certificate cannot be authenticated with given CA certificates

[GuzzleHttp\Ring\Exception\RingException] cURL error 60: Peer certificate cannot be authenticated with given CA certificates

**

Well i found a solution for it which is while making a connection to S3 we haven't option to add PEM certificate so i just added that option and updated readme for future use.

marcaube commented 8 years ago

This pull request broke the "push" functionality for those of us that don't specify a .pem certificate. I get an exception with the message Undefined index: http for $this->supplier['http'] in the provider.

Mulkave commented 8 years ago

@marcaube sorry to hear about that inconvenience and thanks for reporting. Just pushed an update to master that should fix that issue. Can you please try with the dev-master version in your composer and let me know if that fixes it for you as well?