-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
OpenSSL: use Windows' system root certificate store #13187
OpenSSL: use Windows' system root certificate store #13187
Conversation
Awesome! 🙇
|
Not the Win32 C bindings, they don't change case for some reason |
I don't think we adapt the spelling of lib symbols to Crystal conventions anywhere. Except when necessary due to syntax restrictions (such as downcasing the first character). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a short comment in ssl/context.cr
to explain why populate_system_root_certificates
is only used on windows?
Resolves #12476. This makes things like
HTTP::Client.get("https://example.com")
work on Windows without any user configuration at all. (The problem technically still exists for non-system certificates, but then non-Windows systems have to face the same problem too.)