dapphub / dapptools

Dapp, Seth, Hevm, and more
https://dapp.tools
2.1k stars 325 forks source link

Can't install the tool - curl: (60) SSL certificate problem: self signed certificate in certificate chain #620

Open gr0mhellscr3am opened 3 years ago

gr0mhellscr3am commented 3 years ago

curl https://dapp.tools/install | sh

gives at the end

copying path '/nix/store/cay94li1m7s8qiigvp6h30l2gf89ys49-cctools-binutils-darwin-949.0.1' from 'https://cache.nixos.org'... copying path '/nix/store/5kibw14bhhimyikrkh13kxqbc2bbi31l-cctools-binutils-darwin-wrapper-949.0.1' from 'https://cache.nixos.org'... copying path '/nix/store/8i0yaj3r82kqcdbr453wzzijnszxg4gx-clang-wrapper-7.1.0' from 'https://cache.nixos.org'... copying path '/nix/store/vbr7ll48szf0cwirl9m0l8dcwl8nqa20-stdenv-darwin' from 'https://cache.nixos.org'... curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. Configured https://dapp.cachix.org binary cache in /Users/dan/.config/nix/nix.conf error: attribute 'dapp' in selection path 'dapp' not found All set!

MrChico commented 3 years ago

hmmm, what's your operating system?

sengopal commented 2 years ago

If you are in a company network which intercepts traffic, get the public certificate and try setting this env variable first. export CURL_CA_BUNDLE="/usr/local/etc/openssl/cert.pem