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

Cannot pass TLSv1_1 or TLSv1_2 configuration options #639

Closed
saghaulor opened this issue Nov 10, 2014 · 6 comments
Closed

Cannot pass TLSv1_1 or TLSv1_2 configuration options #639

saghaulor opened this issue Nov 10, 2014 · 6 comments

Comments

@saghaulor
Copy link

After reviewing the httpi code, the gem hardcodes acceptable SSL_VERSIONS. The highest version available to pass as an argument from savon is TLSv1.

It's my understanding that with curl when you specify TLSv1, it will attempt to use the best available version of TLS. I imagine curb does the same thing (though I'm not certain.)

I have opened a pull request to httpi to support introspecting into OpenSSL to figure out what supported versions are available. This should make httpi compatible with Ruby 1.9+-2.x+

savonrb/httpi#136

After the issue is resolved in httpi, savon will need to be updated to include the newest version of httpi.

tjarratt added a commit that referenced this issue Nov 12, 2014
Relevant to #639 and #623
@tjarratt
Copy link
Contributor

Hey @saghaulor thank you again for submitting the pull request to HTTPI and for raising this issue. It's really awesome to see such great people in the community that care enough about this to spend their time improving Savon.

I just released v2.8 of Savon that depends on v2.3 of HTTPI. Is that more or less what you were looking for? Is there anything else we can do?

@tjarratt
Copy link
Contributor

tjarratt commented Dec 4, 2014

Closing this for now but please reopen this if there is anything more we need to do to resolve this issue.

Thank you again @saghaulor!

@tjarratt tjarratt closed this as completed Dec 4, 2014
@saghaulor
Copy link
Author

Thank you!

@ReganRyanNZ
Copy link

Requesting to reopen this thread. I'm getting this error trying to access SalesForce with Savon 2.11.2

UNSUPPORTED_CLIENT: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https

Seems like ssl_version: :TLSv1 is still only TLS 1.0

@sroller
Copy link

sroller commented Oct 23, 2017 via email

@kapishmalik
Copy link

Requesting to reopen this thread. I cannot pass TLSv1_1 or TLSv1_2 configuration options.

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

No branches or pull requests

5 participants