Closed GenericJam closed 8 months ago
This works on my own machine which is not behind a proxy. I'd say it's safe to use. It's failing on my work machine which is behind a proxy due to rust build issues.
Recent Erlang versions come with the ability to read the system store, so I think we should default to that instead. I will push a fix soon /cc @kipcole9
For me, it's more about trying to delegate the location of the certs than about finding them automatically. On my work computer, the company controls most of it apart from what's in ~/code
so it's better for me if I can tell it where the certs are.
For me, the very janky work around involved copy/pasting certs into the _build folder so Explorer would find them.
Also a lot of corporate code is stuck on older versions of Erlang/Elixir so new fixes won't make it there for a while.
The existing code was failing for me due to being behind corporate proxy.
I shamelessly borrowed most of this from here -https://github.com/elixir-cldr/cldr_utils/blob/2fcfefb729e1ff3fa06a4cb9d531846c2056bcf2/lib/cldr/http/http.ex#L330 - so if kipcole9 could get credit that would be great.
I haven't been able to verify it works due to other build issues but it has worked as far as I've been able to test it.
I'll keep trying to test it on my end and report back.