Issue Description
The official Docker images (stalwartlabs/stalwart v0.16.27, built 2026-10-18) install ca-certificates from debian:trixie-slim in the runtime stage, so they still ship the system CA bundle that trusts the emSign roots involved in the eMudhra intermediate CA compromise. Debian fixed this in ca-certificates 20250419+deb13u1. Rebuilding and republishing the v0.16 images, with no change to the Dockerfile, would pick up the fix.
Expected Behavior
The published image ships ca-certificates 20250419+deb13u1 or later, and the system trust store rejects certificates issued by the compromised eMudhra intermediates.
Actual Behavior
The current image ships the older ca-certificates package, and the system trust store accepts a chain from the compromised intermediates.
Reproduction Steps
- c=$(docker create stalwartlabs/stalwart:v0.16); docker cp -L $c:/etc/ssl/certs/ca-certificates.crt bundle.crt; docker rm $c
- echo | openssl s_client -connect dv-g3b-emudhra.we-have-a-problem.com:443 -servername dv-g3b-emudhra.we-have-a-problem.com -CAfile bundle.crt -verify_return_error
- Verification succeeds (return code 0). It should fail once the image is rebuilt.
Relevant Log Output
N/A
Stalwart Version
v0.16.x
Installation Method
Docker
Database Backend
PostgreSQL
Blob Storage
RocksDB
Search Engine
PostgreSQL
Directory Backend
Internal
Additional Context
Not a runtime bug: this is a request to rebuild the Docker image. Seen on our own server running stalwartlabs/stalwart:v0.16 (single node, RocksDB, behind nginx), but it applies to every deployment using the official image.
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on