security: distrust two Mozilla root CAs

Blacklist "Comodo AAA Services root" and "emSign ECC Root CA - G3"
so they are left out of /etc/ssl/certs/ca-certificates.crt.

Mozilla already distrusted the Comodo root for serverAuth (it was only
trusted for email), so emSign ECC G3 is the only root this removes for
TLS. Apps that ship their own trust store (NSS in browsers, certifi,
Java cacerts) are not affected.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-10-21 13:52:31 +04:00
commit 35f3e4cec1
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -45,6 +45,12 @@
"net.ipv6.conf.default.accept_redirects" = 0; "net.ipv6.conf.default.accept_redirects" = 0;
}; };
# Drop these roots from the system CA bundle (names must match bundle labels)
security.pki.caCertificateBlacklist = [
"Comodo AAA Services root"
"emSign ECC Root CA - G3"
];
# USBGuard configuration # USBGuard configuration
services.usbguard = { services.usbguard = {
enable = false; enable = false;