softlayer-object-storage-php icon indicating copy to clipboard operation
softlayer-object-storage-php copied to clipboard

Support for TLSv1?

Open jjriv opened this issue 10 years ago • 2 comments

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 avatar Oct 16 '14 04:10 jjriv

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.

jjriv avatar Oct 16 '14 05:10 jjriv

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!

briancline avatar Dec 10 '14 07:12 briancline