Skip to content

Conversation

josevalim
Copy link
Member

Otherwise SSL fails, for example:

iex(1)> :ssl.connect ~c"google.com", 443, [verify: :verify_peer]
{:error, {:options, :incompatible, [verify: :verify_peer, cacerts: :undefined]}}

@josevalim josevalim closed this Apr 22, 2025
@josevalim josevalim reopened this Apr 22, 2025
@josevalim josevalim merged commit 08ccccf into master Apr 22, 2025
9 of 18 checks passed
@josevalim
Copy link
Member Author

💚 💙 💜 💛 ❤️

@josevalim
Copy link
Member Author

I reverted this. The behaviour only happens for ssl: true in new Erlang, so should only change the default in that branch. However, changing it in there will impact other Erlang/OTP versions.

@josevalim josevalim deleted the jv-use-cacerts-on-verify-peer branch April 22, 2025 16:14
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

Successfully merging this pull request may close these issues.

2 participants