-
Notifications
You must be signed in to change notification settings - Fork 75
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 #80
Comments
I'm having the same issues too with Ubuntu 22.04. But no issues on AlmaLinux 8.5 |
You can use this to make the warning go away- it's not the "proper" solution, but it will work diff --git a/lib/certstream/ct_watcher.ex b/lib/certstream/ct_watcher.ex
index 596f804..a57270b 100644
--- a/lib/certstream/ct_watcher.ex
+++ b/lib/certstream/ct_watcher.ex
@@ -9,7 +9,7 @@ defmodule Certstream.CTWatcher do
use GenServer
use Instruments
- @default_http_options [timeout: 10_000, recv_timeout: 10_000, ssl: [{:versions, [:'tlsv1.2']}], follow_redirect: true]
+ @default_http_options [timeout: 10_000, recv_timeout: 10_000, ssl: [{:versions, [:'tlsv1.2']}, verify: :verify_none], follow_redirect: true]
def child_spec(log) do
%{ |
This likely has to do with your operating system certificate setup, I'd be interested if curl or wget work as expected on your systems. |
They do, believe it or not. Unfortunately I patched and rebuilt with that hacky patch without even thinking to If I have some time free I will check |
Interesting! I know erlang/elixir has had quite a few weird bugs in its SSL stack :-/ I wonder if a different erlang/elixir version would sort it (not a great solution obv, but would help you narrow things down a bit)? |
Hi
When using certstream-server i got errors:
I installed erlang-dev instead esl-erlang, because esl-erlang can't be install on debian. I don't know if this is normal problem or I missed something.
The text was updated successfully, but these errors were encountered: