Essay
Update the certificates your software trusts
When a CA is distrusted, there is no single update. The operating system, each language runtime, each container image, your CI and your SaaS vendors each have their own copy of the trusted roots. How to find and fix each one, with the eMudhra fix versions.
A trust store is the list of root certificates that a program believes. When a certificate authority (CA) makes a serious mistake, as eMudhra did in October 2026, the browsers block it within hours. Your servers are different. A typical server has many trust stores, and each one gets its fix by a different route:
| Copy of the roots | Who uses it | How it gets the fix |
|---|---|---|
| The operating system’s store | curl, wget, git, most Python, PHP, Ruby, Debian’s Node | OS package update |
Java’s cacerts | Every Java, Kotlin and Scala app | JDK update, or by hand (see below) |
| Node’s built-in list | Node from nodejs.org, nvm, mise, Docker node images | Node update |
Python certifi | requests, httpx, pip, many apps | pip install -U certifi |
| Go and Rust apps that embed roots | Static binaries | Rebuild with a new version |
| Each container image | Everything in that container | Rebuild the image |
| Your CI runners and their images | Builds, deploys, package downloads | Runner image update, or rebuild |
| Devices | Routers, printers, TVs, appliances | Firmware update, if there is one |
Revocation does not help most of these. curl, Python, Node, Go and Java do not check revocation lists by default, and they do not check Certificate Transparency. For them, a CA stops being trusted only when its root or intermediate is gone from that copy of the list.
1. Test first
The eMudhra disclosure page runs test hosts that use the compromised intermediates. A certificate error means the client is safe:
curl https://dv-g3b-emudhra.we-have-a-problem.com/
curl https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
Run the same test with each runtime, because each one can use a different store:
python3 -c "import urllib.request; urllib.request.urlopen('https://dv-g3b-emudhra.we-have-a-problem.com/')"
node -e "require('https').get('https://dv-g3b-emudhra.we-have-a-problem.com/', r => console.log('TRUSTED', r.statusCode)).on('error', e => console.log('rejected', e.code))"
Inside a container: docker exec <container> curl -sS https://dv-g3b-emudhra.we-have-a-problem.com/. For machines with no network access, the page has chains.zip to check a store offline with openssl verify.
2. The operating system
Install the fixed ca-certificates package from your distribution’s security updates. Automatic security updates (unattended-upgrades on Debian and Ubuntu, dnf-automatic on Fedora and RHEL) install the next fix like this one without you.
| System | Command | Fixed version (eMudhra) |
|---|---|---|
| Debian, Ubuntu | apt update && apt install --only-upgrade ca-certificates | Debian 12: 20250419~deb12u2. Debian 13: 20250419+deb13u1. Ubuntu 22.04, 24.04, 26.04, 26.10: 20260816ubuntu0.<release>.1 |
| Fedora, RHEL family | dnf upgrade ca-certificates | Fedora: 2026.2.92_v9.0.319 |
| Alpine | apk upgrade ca-certificates | 20261020-r0 |
| Arch | pacman -Syu | ca-certificates-mozilla 3.131.1-1 |
| macOS | Software Update | See below |
| Windows | Windows Update | Microsoft blocked the certificates on 20 October |
Check the version with dpkg-query -W ca-certificates or rpm -q ca-certificates.
macOS. The system blocks the intermediates, but the built-in curl, git, python3, perl, ruby and openssl read /etc/ssl/cert.pem and do not check revocation. On 20 October that file was not updated yet. The disclosure page has the command to remove the two roots from it, and a fix for the built-in pip. Homebrew users: brew upgrade ca-certificates.
Until your distribution ships a fix. The disclosure page has commands to distrust the two roots by hand for each distribution. It says that this is for experts only, and we agree: when you distrust a root by hand, you must remember to undo it later.
3. Language runtimes
Java. Java does not read the OS list at run time. It reads its own cacerts file. On Debian, the package ca-certificates-java copies the OS list into it. We tested this on Debian 12: after the fixed ca-certificates update, and even after update-ca-certificates --fresh, Java’s store still had both roots, and Java still connected to the test host. Check yours:
keytool -list -cacerts -storepass changeit | grep -i -e emsign_ecc_root_ca_-_g3 -e comodo_aaa
If both names are there, remove them. With these two lines, Java refused the test host in our test, and other sites still worked:
keytool -delete -cacerts -storepass changeit -alias debian:emsign_ecc_root_ca_-_g3.pem
keytool -delete -cacerts -storepass changeit -alias debian:comodo_aaa_services_root.pem
A JDK that you download, or that comes in an image like eclipse-temurin or openjdk, has its own cacerts in $JAVA_HOME/lib/security/. It gets the fix with a JDK update or a rebuild of the image.
Node.js. Node from nodejs.org, nvm, mise and the Docker node images use a list of roots that is built into the binary. Fixed versions: 22.23.4, 24.22.1 and 26.12.1. Node 18 and 20 get no more updates. On those, start Node with --use-openssl-ca (or set NODE_OPTIONS=--use-openssl-ca) so that it uses the OS store; in our test, this made Node 20 refuse the test host. Debian’s own nodejs package uses the OS store already.
Python. requests and many other libraries use certifi. Fixed: certifi 2026.10.19, pip 26.2.2, uv 0.13.4. Update certifi in every virtual environment and every lock file, not only on the host.
Others. Go 1.27.3 and 1.26.10. Rust rustls-webpki 0.103.16 and webpki-roots 1.0.10 (rebuild the binary). Electron 44.9.1, 43.8.1 and 42.11.16. PHP Composer ca-bundle 1.4.16 and 1.6.0. Elixir castore 1.0.22. Perl Mozilla::CA 20261020. The disclosure page keeps the full list.
4. Containers
Every image has its own copy of the roots from the day it was built. A host update changes nothing inside a container. On our servers, most running containers still trusted the eMudhra chains after the hosts were fixed.
- Pull new base images:
docker pull <image>for each image you use. - Rebuild your own images with
--pull --no-cache, so the build does not use an old layer. - Restart the containers on the new images.
- If the base image has no fix yet, add
RUN apt-get update && apt-get install -y --only-upgrade ca-certificates(or theapkcommand) to your Dockerfile. - Test inside the container, as in step 1.
Images that you pull and do not build, such as databases and monitoring tools, need a new upstream release. Most of them make only a few outbound HTTPS calls, but those calls can include update checks, webhooks and backups to object storage.
5. CI and build machines
CI fetches code, packages and install scripts over HTTPS, often with curl … | sh. A runner that trusts a forged certificate can install a forged package. Update self-hosted runners like servers, and rebuild their images. For hosted runners, check the provider’s changelog for the image date, and test with one job that runs the curl command above.
6. SaaS: apps you run and apps you use
If you run a SaaS app, your servers make outbound calls for your customers: webhooks, OAuth, payment APIs, email APIs, imports from URLs. Those calls are the ones a forged certificate attacks. Fix every service that makes them, in the order of what they carry: payments and credentials first.
On a platform that runs your code (a PaaS, serverless functions, managed containers), the provider updates the base system. Your code can still bring its own roots: a pinned certifi, an old Node version, a JDK in your image. Update those and deploy again.
If customers use their own domains on your service, check where their certificates come from. eMudhra certificates under the emSign ECC Root CA - G3 root are losing trust in Firefox, and Chrome will follow.
If you use a SaaS app, you can not update its servers. You can ask. Start with the vendors that call your systems or hold your credentials: CI, deploy tools, backups, payment and email providers, monitoring. Ask whether their outbound HTTPS clients and images have the October 2026 trust store fix. A vendor that can not answer that question has not looked.
7. Devices
Routers, printers, TVs, cameras and other devices often have a trust store that never changes. The eMudhra intermediates are valid until 2040, and the Sectigo cross-signs until 2028. Install firmware updates where they exist. Where they do not, keep the device off the paths that carry secrets.
8. Your own certificates
If a CA you use loses trust, your site stops working in browsers. Check who issued your certificates:
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -issuer -enddate
Use ACME with automatic renewal, so that a move to another CA is a configuration change and not a project. Add a CAA record to say which CAs may issue for your domain, and watch the Certificate Transparency logs for certificates you did not ask for.
A checklist to keep
- Know every copy of the roots: OS, Java, Node, certifi, embedded Go and Rust roots, each image, each runner.
- Turn on automatic security updates on hosts.
- Rebuild images on a schedule, not only when the code changes.
- Pin runtime versions, and update the pins when a trust store fix ships.
- Keep a test that runs a known-bad host from each runtime and fails the build if it connects.