"SSL peer certificate or SSH remote key was not OK" error on fresh Nix install on macOS

My initial guess is that NIX_SSL_CERT_FILE isn’t set properly in your shell. Did you make sure to create a new shell that sources the Nix profile setup, instead of just manipulating your PATH to include nix?

1 Like