Skip to main content
December 1, 2026

eMudhra Distrust: Find What in Your Fleet Still Trusts the Root

eMudhra Distrust: Find What in Your Fleet Still Trusts It

To find what in your fleet still trusts the compromised eMudhra CA, search every certificate bundle you run for the root emSign ECC Root CA - G3: the OS bundle on hosts, the bundle baked into each container image, Java cacerts, Python certifi, and the root list compiled into Node.js and Electron. Firefox and Chrome blocked the bad intermediates within days. Most server-side clients get nothing until you update or rebuild them. This guide gives the check and the fix for each store.

What Happened to eMudhra

On October 17, 2026, Mozilla received a report that the private keys of eight eMudhra intermediate CAs had been compromised. All eight were ECDSA P-384 keys. In Bugzilla bug 2083449, a Mozilla engineer wrote: "The 8 impacted keys all used integers less than 256." A real P-384 key is a random number of about 384 bits. A key below 256 can be found by trying every value. A participant in the bug later listed the eight values as 4, 56, 66, 115, 155, 156, 230 and 237 and asked eMudhra to explain them.

What followed, from primary sources:

  • Mozilla finished a OneCRL block at 22:59 UTC the same day. eMudhra revoked all eight intermediates on October 18 with reason cACompromise (Mozilla Security Blog, bug 2083449).
  • Mozilla then decided on "the emergency removal of trust in emSign ECC Root CA - G3". NSS 3.131.1 removes it (bug 2084101). The Chrome Root Program said it "committed to a similar path" and blocked the certificates through CRLSet.
  • Sectigo had cross-signed all eight intermediates from its AAA Certificate Services root and revoked those cross-certificates on October 19. Sectigo noted in the bug that this root "remains trusted within Microsoft and Apple root programs".
  • eMudhra's incident statement dates the weak keys to an April 30, 2025 key ceremony. It says "a key wrap/unwrap step produced a second, weak set of keys alongside the original strong keys". In its incident report in the bug, eMudhra says it also revoked eight RSA-4096 intermediates on November 7 with reason cessation of operation, and that it has decided to exit the public TLS business.

OneCRL and CRLSet live in the browser. curl, Python requests, Go, Java and Node.js do not use them. Until the root is gone from the bundle such a client reads, a certificate signed with one of the weak keys still validates there.

Where the Root Can Still Hide

Component Where its trust comes from First fixed version seen Check
Debian, Ubuntu hosts /etc/ssl/certs/ca-certificates.crt Debian 20260816+nmu1, Ubuntu 22.04 20260816ubuntu0.22.04.1 (Oct 20, both block the root) ls /etc/ssl/certs
RHEL, Fedora hosts /etc/pki/ca-trust/extracted/ Check your vendor's ca-certificates errata trust list
Container images The bundle copied in at build time Whatever the base image had that day docker cp the bundle
Python apps certifi/cacert.pem in each venv certifi 2026.10.18 python -m certifi
Node.js Root list compiled into the binary 22.23.4 (NSS 3.131.1) on the 22.x line tls.rootCertificates
Electron apps Chromium verifier plus the embedded Node Depends on the Electron release App vendor notes
Java cacerts keystore Upstream OpenJDK never shipped emSign; distro JDKs copy the OS store keytool -list -cacerts

Sources for the versions: the Debian changelog, the Ubuntu changelog (LP: #2171507), certifi PR #437, and the Node.js 22 changelog. Debian later moved to Mozilla bundle 2.92 (20261123), which drops the root entirely. Ubuntu's 20261130ubuntu1 also blocks emSign Root CA - G1.

Step 1: Check a PEM Bundle

Most stores come down to one PEM file. This pipeline prints the subject of every certificate in it, using only documented OpenSSL options (crl2pkcs7, pkcs7):

openssl crl2pkcs7 -nocrl -certfile /etc/ssl/certs/ca-certificates.crt \
  | openssl pkcs7 -print_certs -noout | grep -i 'emSign ECC Root CA - G3'

No output means the bundle does not trust the root. A hit with OpenSSL 3.x looks like this:

subject=C = IN, OU = emSign PKI, O = eMudhra Technologies Limited, CN = emSign ECC Root CA - G3

Grep for the full name, not emSign. Other emSign roots such as emSign Root CA - G1 were not removed by Mozilla in October and can still show up.

Step 2: Fix Debian and Ubuntu Hosts

First, install the current ca-certificates package. If you cannot do that yet, distrust the root locally. The update-ca-certificates man page (trixie, 20250419+deb13u1) says "Lines that begin with "!" are deselected" in /etc/ca-certificates.conf:

sudo sed -i 's|^mozilla/emSign_ECC_Root_CA_-_G3.crt$|!mozilla/emSign_ECC_Root_CA_-_G3.crt|' /etc/ca-certificates.conf
sudo update-ca-certificates --fresh
ls /etc/ssl/certs | grep -i emSign_ECC_Root_CA_-_G3

The last command should print nothing. --fresh removes the old symlinks in /etc/ssl/certs before it rebuilds them.

Step 3: Fix RHEL and Fedora Hosts

The update-ca-trust man page puts distrusted certificates in /etc/pki/ca-trust/source/blocklist/, where they are "treated as distrusted for all purposes". After you add a file, you run update-ca-trust extract. The PEM and Java outputs simply leave distrusted roots out: "distrusted certificates are missing from these files".

trust list --filter=ca-anchors | grep -i -B2 -A2 'emSign ECC Root CA - G3'
# copy the root's PEM into the blocklist, then:
sudo update-ca-trust extract
trust list --filter=blocklist

The trust command documents the ca-anchors and blocklist filters. Before you put a PEM file in the blocklist, check it with the Step 1 pipeline so you block the right certificate.

Step 4: Find What in Your Fleet Still Trusts It in Images and Runtimes

Hosts are the easy part. The long tail is every artifact that carries its own copy.

Container images. An image keeps the bundle it had on the day it was built. Pull the file without running a shell, so it also works for distroless images:

cid=$(docker create "$IMAGE")
docker cp "$cid:/etc/ssl/certs/ca-certificates.crt" - | tar -xO > /tmp/bundle.pem
docker rm "$cid"
docker image inspect -f '{{.Created}}' "$IMAGE"

Then run Step 1 on /tmp/bundle.pem. To get the image list from Kubernetes:

kubectl get pods -A -o jsonpath='{range .items[*].spec.containers[*]}{.image}{"\n"}{end}' | sort -u

Python. The certifi README says python -m certifi prints the bundle path. It also says certifi "does not support any addition/removal" of roots, so you fix it by upgrading. Check each virtualenv and vendored copy. pip has one too:

find / -path '*certifi*' -name cacert.pem 2>/dev/null

Node.js. Node uses its own compiled-in root list, not /etc/ssl. NODE_EXTRA_CA_CERTS only adds roots. The docs for --use-system-ca (v23.8.0 and later) say: "Node.js currently does not support distrust/revocation of certificates from another source based on system settings." To check a binary:

node -e 'const {X509Certificate}=require("crypto");for(const p of require("tls").rootCertificates){const s=new X509Certificate(p).subject;if(s.includes("emSign ECC Root CA - G3"))console.log(process.version,s)}'

The fix is a Node release built from NSS 3.131.1 or later. The commit (ae22341) removes G3, C1 and C3.

Electron. Electron's net module uses "Chromium's native networking library instead of the Node.js implementation". Code that calls Node's https uses the Node root list built into that Electron release. Electron apps update only when the vendor ships a new build, so list the desktop and internal tools your team runs and ask each vendor which Electron version they ship.

Java. Upstream OpenJDK's cacerts directory has no emSign root. Distro builds that use the OS store do: RHEL writes /etc/pki/ca-trust/extracted/java/cacerts. Check with keytool (JDK 21; the default store password is changeit):

keytool -list -v -cacerts -storepass changeit | grep -i 'emSign ECC Root CA - G3'

Audit Checklist

  • Every host runs a ca-certificates build from October 20, 2026 or later, or has the root deselected.
  • Every image in the cluster was rebuilt after that date, or its bundle passes Step 1.
  • No lockfile pins certifi below 2026.10.18.
  • Node runtimes are on a release with the NSS 3.131.1 root update.
  • Java services that use a distro JDK read a regenerated cacerts.
  • Windows and macOS clients: the eMudhra chains could validate through Sectigo's AAA Certificate Services root, which those OS stores still trust. Protection there depends on the cross-certificate revocation being checked.

Troubleshooting

update-ca-certificates ran, but the root is still in the bundle. The sed matched nothing because the line was already gone or written differently. Run grep -n emSign /etc/ca-certificates.conf and edit that exact line.

The host is clean, but the app still trusts the root. The app reads its own store. Check which runtime it uses: certifi, a Node binary, or a JDK with its own lib/security/cacerts.

keytool -delete reports that the alias does not exist. Aliases differ between distros. Find the real alias with keytool -list -v -cacerts. Prefer to fix the OS source instead: update-ca-trust extract overwrites the generated Java keystore.

docker cp cannot find the bundle. The image keeps it at another path or has none. Find it under /etc and rerun Step 1.

Running the Audit From an Incident

Akmatori can run this audit for you when the next CA distrust comes out. Write the steps above as a skill. Then the agent runs the read-only checks on your hosts through the SSH connector, which allows only diagnostic commands unless you allow more. For the rest of an on-call response to CA problems, see our six-incident checklist.

Conclusion

A browser fix does not fix your fleet. Search every bundle for the exact root name, update hosts, rebuild images, upgrade certifi and Node, and check Java and Electron on their own. Keep the Step 1 pipeline for the next distrust.

If your team wants AI-assisted incident workflows on your own infrastructure, Akmatori helps SRE teams investigate alerts, coordinate response, and audit trust stores across the fleet. Powered by Gcore for global infrastructure reliability.

Automate incident response and prevent on-call burnout with AI-driven agents!