softlayer / softlayer-object-storage-php

SoftLayer Object Storage PHP Client
Other
28 stars 18 forks source link

Support for TLSv1? #21

Open jjriv opened 9 years ago

jjriv commented 9 years ago

We currently use this library and it works great. But, today SoftLayer turned off SSLv3 on their ObjectStorage network in response to the POODLE vulnerability.

Is there any way to use this library with the CURL adapter and TLSv1?

At present, it doesn't work at all :(

jjriv commented 9 years ago

Wanted to follow up with a solution for anyone else having issues using the CURL adapter. We modified the ObjectStorage/Http/Adapter/Socket.php file and changed the line "ssl://" to "tsl://" so it will force it to use TLS when the socket adapter is used.

Then we added "'adapter' => ObjectStorage_Http_Client::SOCKET, " to the options array when creating the ObjectStorage object.

And now it is working with TLS by using the Socket adapter instead of the CURL adapter.

briancline commented 9 years ago

Good catch -- we'll get a code change in for this and target it for a versioned release.

Thanks very much for reporting this and for following back up on the solution!