-
Notifications
You must be signed in to change notification settings - Fork 38
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
Authenticity is not established by certificate path validation (OTP24) #39
Comments
Hi @pedro-gutierrez - thank you for the issue report and the PR. We will look into this. Filed internally as 120173. |
Hey @zurab-darkly I hope all is going well :) |
@pedro-gutierrez Please check release 1.3.0: #50 |
Hey @kinyoklion thanks for this. Here is how I am starting my ldclient:
This seems to work. I no longer get OTP's ssl warning and this is great! However, dialyzer complains with:
In order to avoid this dialyzer error I also tried to I register my
then I call Any idea what I might be doing wrong? |
@pedro-gutierrez It looks like there is a mistake in the typings. You don't seem to be doing anything wrong, and it should function correctly. I've filed an internal ticket for us to resolve this. Thank you, and thanks for letting me know about the issue. Filed internally as 130423. |
Awesome, thank you @kinyoklion. For now I am adding an exception to ignore these warnings in my build. |
@pedro-gutierrez |
Describe the bug
When running on OTP24, this SDK produces the following warnings in the shell or console logs:
Currently there is no way to specify custom ssl options to the ldclient instances, and no default ssl options are passed to the underlying http clients (shotgun and httpc).
To reproduce
Then:
ldclient:variation/4
.Expected behavior
It should be possible to define ssl options to be passed to the underlying http clients, in order to do more strict verification of server certificates and avoid the above SSL related warnings printed by OTP.
SDK version
1.1.1
Language version, developer tools
Erlang/OTP 24 (very important!)
OS/platform
macOS Big Sur and Linux.
Additional context
This is a great presentation that better describes the issue: https://www.youtube.com/watch?v=0jzcPnsE4nQ
The text was updated successfully, but these errors were encountered: