odix67
Hi,
I have to build an app also on windows, since some time, I do not know it exactly, I ran into the the issue below during download of binaries (precompiled NIFs, esbuild, tailwindcss, etc). I do not have the issue while downloading dependencies from hex.
I’ve also copied the ca certificates (from a linux instance) into a directory and configured hex (cacert_path) to use that directory, but this doesn’t help. It seems that the erlang runtime isn’t able to get the systems CA store (I’m not a windows specialist). My question, is there a environment variable to point the erlang runtime to a CA path, or any other way to fix this issue ? BTW, the error from below is while accessing github.
Versions, Windows 11, Erlang/OTP 28.1.1, Elixir 1.19.3
TLS :client: In state :wait_cert_cr at ssl_handshake.erl:2175 generated CLIENT ALERT: Fatal - Unknown CA
any suggestions ?
Trending in Troubleshooting
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










First Post!
odix67
setting the HEX_CACERTS_PATH to a downloaded CA bundle did the trick, what’s a littlebit courious is that setting the cacerts path with
mix hex.config cacerts_path <path_to_bundle>did not work