FIPS / STIG Container Builds
From Mattermost v11, each release provides two variants: a FIPS-compliant build and a non-FIPS build. This ensures that organizations with strict compliance requirements can adopt the FIPS version while others can continue with the standard release, both staying in sync with Mattermost’s overall product lifecycle.
FIPS/STIG compliance in Mattermost is a property of the container image, not a separate install method. This page applies equally whether you deploy with Docker or deploy on Kubernetes. In both cases, you point your deployment at mattermost/mattermost-enterprise-fips-edition instead of the standard tag.
Mattermost FIPS-compliant Docker images are built using Chainguard’s FIPS-certified base containers. These images help organizations meet stringent security requirements by ensuring compliance with the Federal Information Processing Standards (FIPS).
On top of this foundation, Mattermost product code itself is aligned with FIPS requirements, using FIPS-approved cryptographic algorithms, with the exceptions to the FIPS boundary listed below. This ensures that both the underlying container base and the application layer meet compliance expectations.
In addition, the Chainguard base images are STIG-hardened and rigorously scanned against the DISA General Purpose Operating System SRG, providing a robust and secure operational posture.
Mattermost’s FIPS-compliant images are built using two Chainguard base images:
- Build-Time Image: Ensures compiled Mattermost binaries invoke OpenSSL through CGO for FIPS-compliance during compilation.
- Runtime Image: Enforces FIPS compliance in the runtime environment using strict OpenSSL configurations.
All application-level code uses FIPS-approved algorithms, except for the documented exceptions, ensuring that cryptographic requirements are consistently enforced across every layer of the system.
Exceptions to the FIPS boundary
The Mattermost FIPS image deliberately doesn't use validated cryptography in the cases below.
Multi-factor authentication (TOTP)
Multi-factor authentication (MFA) uses time-based one-time passwords (TOTP) as defined in RFC 6238. TOTP codes are computed with HMAC-SHA1, which is the algorithm authenticator apps use by default and which the FIPS cryptographic module doesn't accept for this use. Mattermost therefore computes TOTP codes with the Go standard library instead of the validated OpenSSL module.
The exception is scoped as tightly as possible: HMAC-SHA1 is used only for TOTP code generation and verification. If this exception isn't acceptable, leave Enable Multi-factor Authentication (System Console > Authentication > MFA) set to false and use multi-factor authentication provided by your SSO or identity provider instead.
When the server runs in FIPS mode, the MFA page in the System Console shows a notice linking to this section.