-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-user installation on OSX - SSL cert problem for user, not for root #2899
Comments
The issue seems to have been solved by following the instructions here to provide
|
It's possible that all what's needed to fix this is restarting the daemon (ie. |
For the poor souls that end up on this issue. Here is what I went through.
|
Mac OS multi-user installations are currently broken because all requests made by nix-daemon to the binary cache fail with: ``` unable to download ... Problem with the SSL CA cert (path? access rights?) (77). ``` This change ensures that the nix-daemon knows where to find the SSL CA cert file. Fixes #2899 and #3261. (cherry picked from commit b7c0223)
I also had to
¯_(ツ)_/¯ |
Still an issue. Setting NIX_SSL_CERT_FILE and restarting nix daemon doesn't help. |
@sikmir did you solve the issue? |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/ssl-ca-cert-error-on-macos/31171/1 |
Yes, the recommendation above helped me finaly. |
This helped me as well. There was a broken symbolic link, probably from my previous nix-darwin install, which I ditched for just the raw nix. Just to save everyone a click: sudo rm /etc/ssl/certs/ca-certificates.crt
sudo ln -s /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt |
After a multi-user installation on OSX (Mojave 10.14.5), operations performed by the user that try to pull from a binary cache (
https://cache.nixos.org
) fail withunable to download ... Problem with the SSL CA cert (path? access rights?) (77)
. When performed by root, however, they succeed.The (successful) output from the installer is attached.
nix-installer-output.txt
Following that, in a new shell,
nix-shell -p nix-info --run "nix-info -m"
returns:And here it is succeeding with root:
I'm also puzzled why
nix-info
says the installation is not multi-user.I'm likely doing something wrong, so if someone could point me in the right direction, I'd appreciate it.
The text was updated successfully, but these errors were encountered: