Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for TLSv1? #21

Open
jjriv opened this issue Oct 16, 2014 · 2 comments
Open

Support for TLSv1? #21

jjriv opened this issue Oct 16, 2014 · 2 comments

Comments

@jjriv
Copy link

jjriv commented Oct 16, 2014

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
Copy link
Author

jjriv commented Oct 16, 2014

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
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants