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

Default TLS version? #461

Open
d-wire opened this issue Aug 3, 2022 · 2 comments
Open

Default TLS version? #461

d-wire opened this issue Aug 3, 2022 · 2 comments

Comments

@d-wire
Copy link

d-wire commented Aug 3, 2022

I was looking through the docs and couldn't seem to find where the default TLS version was specified. If we don't pass in an option of ssl: [{:versions, [:"tlsv1.2"]}], what TLS version does it use under the hood?

Thanks in advance!

@DimitrijeDimitrijevic
Copy link

@d-wire Hi, I am looking also for this, because when I upgraded the app to erlang OTP 26 and latest elixir, and all the deps my app stopped working. Manage to start it again by passing ssl_override: true to httpoison options.
Have you found which is default TLS version ?

@edgurgel
Copy link
Owner

edgurgel commented Aug 5, 2023

Hey team the default SSL options can be found here: https://github.com/edgurgel/httpoison/blob/main/lib/httpoison/base.ex#L821-L832

As pointed out from 2.0.0 you have to pass ssl_override to completely override what has been set-up and define your own SSL settings.

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

No branches or pull requests

3 participants