Skip to content

Commit

Permalink
p11-kit: add Fedora/RHEL trust store path
Browse files Browse the repository at this point in the history
Fedora and RHEL use a different location for the trust store, compared
to other distros. Without this, validation of the CA root certificates
fails in all nss applications.
  • Loading branch information
rnhmjoj committed Nov 18, 2021
1 parent 93d0908 commit cf3013b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/libraries/p11-kit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ stdenv.mkDerivation rec {
configureFlags = [
"--sysconfdir=/etc"
"--localstatedir=/var"
"--with-trust-paths=/etc/ssl/trust-source:/etc/ssl/certs/ca-certificates.crt"
"--with-trust-paths=${lib.concatStringsSep ":" [
"/etc/ssl/trust-source" # p11-kit trust source
"/etc/ssl/certs/ca-certificates.crt" # NixOS + Debian/Ubuntu/Arch/Gentoo...
"/etc/pki/tls/certs/ca-bundle.crt" # Fedora/CentOS
]}"
];

enableParallelBuilding = true;
Expand Down

0 comments on commit cf3013b

Please sign in to comment.