Skip to content

Use cacerts on verify peer #739

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

Merged
merged 1 commit into from
Apr 22, 2025
Merged

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