Skip to content
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

gnutls: "Error setting the x509 trust file" #8321

Closed
ellis opened this issue Jun 13, 2015 · 1 comment
Closed

gnutls: "Error setting the x509 trust file" #8321

ellis opened this issue Jun 13, 2015 · 1 comment

Comments

@ellis
Copy link
Contributor

ellis commented Jun 13, 2015

I'm seeing a problem with gnutls, both versions 3.3 and 3.4, whereby it doesn't use the CA certificates in /etc/ssl/certs/ca-certificates.crt by default, but does work if you pass it the appropriate command argument:

$ gnutls-cli nixos.org
Error setting the x509 trust file
...

$ gnutls-cli nixos.org --x509cafile /etc/ssl/certs/ca-certificates.crt
Processed 155 CA certificate(s).
...

(Strangely enough, if I use nix-shell to build gnutls33 and run gnutls-cli nixos-org from within nix-shell, it does work.)

My system is currently using nixpkgs from the unstable channel updated June 11 (nixos-15.06pre64030.e1af50c).

I downloaded the old .nix expression for v3.2 to test that too, and it works fine.

@vcunat
Copy link
Member

vcunat commented Jun 13, 2015

This should be fixed by #8121, though it's only in the staging branch ATM (due to having nontrivial rebuild impact).

@vcunat vcunat closed this as completed Jun 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants