Hi there!
i am trying to integrate zig/zigler in my app, but when i run mix zig.get
i get the following CA error
16:21:35.266 [info] downloading zig version 0.10.1 (https://ziglang.org/download/0.10.1/zig-macos-aarch64-0.10.1.tar.xz) and caching in ~/my_proj/deps/zigler/zig.
16:21:35.561 [notice] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:2138 generated CLIENT ALERT: Fatal - Unknown CA
** (RuntimeError) failed to download the appropriate zig archive.
(zigler 0.10.3) lib/zig/command.ex:300: Zig.Command.download_zig_archive/3
(zigler 0.10.3) lib/zig/command.ex:272: Zig.Command.fetch!/1
(mix 1.15.7) lib/mix/task.ex:455: anonymous fn/3 in Mix.Task.run_task/5
(mix 1.15.7) lib/mix/cli.ex:92: Mix.CLI.run_task/2
~/.asdf/installs/elixir/1.15.7-otp-26/bin/mix:2: (file)
I am behind a company firewall that uses a self signed certificate, and while i can let mix ignore that by passing mix hex.config unsafe_https true
i can’t do the same when i run zig.get
Any advice?
Thanks