Issues with Nix package downloads due to SSL certificate errors

It is maybe my third attempt to get into nix, so far couldn’t make it due to different reasons, and here is another one:
- getting nix packages fails with
warning: error: unable to download 'https://api.github.com/repos/nixos/nixpkgs/commits/nixpkgs-unstable': SSL peer certificate or SSH remote key was not OK (60); retrying in 273 ms

Obviously related to my root certificate.
does anyone know how to specify root certificate for nix internal network calls?
Was this page helpful?