I’ve seen this error recently while trying to make nix work on fedora through a MITM proxy. In multi-user though so I’m not sure it’ll help but some of the stuff I tried which could lead you to the cause:
-
NIX_SSL_CERT_FILE
or just SSL_CERT_FILE CURL_CA_BUNDLE
- double checking the proxy env variables (HTTP_PROXY and HTTPS_PROXY)
- adding
--verbose
to the command line - trying
curl
instead ofwget
to check that the network setup is working, can give different result