Skip to main content
Security
Kubernetes
Compliance
Updated Dec 2026

FIPS 140-3 Cryptography on Kubernetes: Build vs Buy

Where validated cryptography has to live in a Kubernetes platform, what Go, OpenSSL, Bottlerocket and Ubuntu Pro give you today, and when building it yourself beats buying it in.

Published December 1, 2026 · HostingX Solutions LLC

Short answer

  • FIPS 140-3 is now the standard to target. NIST's CMVP accepts only FIPS 140-3 validations, and after September 21, 2026 it places FIPS 140-2 validated modules on its Historical list.

  • FIPS applies to cryptographic modules, layer by layer: the node OS and kernel, the crypto libraries inside each container image, platform components such as ingress and service mesh, and the endpoints your cloud SDKs call.

  • Build is realistic for Go services: since Go 1.24, Go binaries can run in a native FIPS 140-3 mode, and Go Cryptographic Module v1.26.0 is covered by CMVP certificate #5581. For C-based stacks, OpenSSL 3 has a FIPS provider you build from a validated version.

  • Buy for the node layer: on Amazon EKS, Bottlerocket FIPS AMIs use FIPS 140-3 validated modules and are chosen like any other AMI type; Ubuntu Pro enables certified modules with one command from Ubuntu 22.04 LTS.

  • Neither makes you compliant by itself. AWS calls Bottlerocket FIPS nodes “FIPS ready” but not automatically “FIPS-compliant.” You still configure, document and verify every layer.

What FIPS 140-3 Actually Requires

FIPS 140-3 is, in AWS's words, “a United States and Canadian government standard that specifies the security requirements for cryptographic modules that protect sensitive information.” It validates modules, not algorithms: using AES or SHA-256 isn't enough; the code that implements them has to be a module validated by NIST's Cryptographic Module Validation Program (CMVP), used as its security policy describes.

Timing matters in 2026. The CMVP no longer accepts FIPS 140-2 submissions, and its guidance is that FIPS 140-2 modules stayed acceptable through September 21, 2026, after which they move to the Historical list. If your platform still relies on a FIPS 140-2 certificate, plan the move to 140-3 modules now. Modules under review appear on CMVP's Modules In Process list before a certificate is issued.

Where Validated Crypto Has to Live in a Cluster

LayerWhat uses cryptoBuyBuild
Node OS and kernelDisk encryption, kernel crypto, the kubelet and container runtimeBottlerocket FIPS AMIs on EKS; Ubuntu Pro FIPS from Ubuntu 22.04 LTSBuilding and validating your own kernel crypto is rarely worth it
Application crypto in imagesTLS, hashing and signing inside your servicesHardened FIPS base images from a vendorGo 1.24+ with GOFIPS140; OpenSSL 3 with its FIPS provider
Platform componentsIngress, service mesh, cert-manager, operatorsVendor builds that state their validated moduleRebuild open-source components against a validated module
Cloud API callsCalls from nodes and pods to cloud servicesAWS FIPS endpoints (Bottlerocket FIPS AMIs set use_fips_endpoint=true)Configure each SDK and CLI to use FIPS endpoints

The application layer is usually the most work, because each image may carry its own crypto library. A Go service, a Python service linked against OpenSSL and a Java service each need their own answer. Start with an inventory: for every image, record the language runtime, the crypto library and version, and whether it runs in FIPS mode.

Building It: Go and OpenSSL

Go's native FIPS 140-3 mode

Go's documentation says: “Starting with Go 1.24, Go binaries can natively operate in a mode that facilitates FIPS 140-3 compliance.” Two settings control it. At build time, GOFIPS140 selects the Go Cryptographic Module: off is the default, latest enables FIPS mode by default, a version such as v1.26.0 pins a specific module, and certified or inprocess select the latest version with a CMVP certificate or on the Modules In Process list. At run time, GODEBUG=fips140=on turns FIPS mode on.

Dockerfile (build stage)

FROM golang:1.26 AS build
WORKDIR /src
COPY . .
# Pin the validated Go Cryptographic Module (CMVP certificate #5581)
RUN GOFIPS140=v1.26.0 CGO_ENABLED=0 go build -o /out/app ./cmd/app

FROM gcr.io/distroless/static
COPY --from=build /out/app /app
# FIPS mode is on by default when GOFIPS140 selects a module;
# setting it explicitly documents the intent
ENV GODEBUG=fips140=on
ENTRYPOINT ["/app"]

Two warnings from Go's documentation. GODEBUG=fips140=only makes non-compliant algorithms return an error or panic, which is useful in testing, but it's “not intended to be used in production.” And the older Go+BoringCrypto mechanism is unsupported, will be removed, and is incompatible with the native FIPS 140-3 mode, so migrate builds that still use it. Go v1.0.0 of the module is covered by certificate #5247, and Google contracts with Geomys for at least yearly CMVP validations, so plan to move your pinned version forward on that cadence.

OpenSSL 3 FIPS provider

For services linked against OpenSSL 3, FIPS comes from a separate provider. Its settings live in fipsmodule.cnf, which you include from the main openssl.cnf, and the fips provider is activated in the providers section. OpenSSL's documentation stresses that some releases don't have a validated FIPS provider, so “it is essential to build your FIPS provider using one of the validated versions.” A minimal configuration looks like this:

openssl.cnf (excerpt)

openssl_conf = openssl_init

# Generated when the FIPS provider is installed; path depends on your build
.include /usr/local/ssl/fipsmodule.cnf

[openssl_init]
providers = provider_sect

[provider_sect]
fips = fips_sect
base = base_sect

[base_sect]
activate = 1

The fips_sect section in fipsmodule.cnf carries activate = 1, which loads the FIPS provider at startup. The installation steps are in OpenSSL's README-FIPS. Building and maintaining this across many images is where the build option gets expensive.

Buying It: FIPS Nodes and Base Images

Bottlerocket FIPS AMIs on Amazon EKS

Bottlerocket FIPS AMIs run a FIPS kernel and are preconfigured to use FIPS 140-3 validated modules: the Amazon Linux 2023 Kernel Crypto API Cryptographic Module and the Go Cryptographic Module. You pick them as the AMI type when you create a managed node group: BOTTLEROCKET_x86_64_FIPS, BOTTLEROCKET_ARM_64_FIPS, or the NVIDIA variants for GPU nodes. By default they write an AWS config with use_fips_endpoint=true, so host services call AWS FIPS endpoints.

Two caveats. They're supported directly in US Regions, including AWS GovCloud (US); elsewhere you need a launch template. And they rely on the Amazon ECR FIPS endpoint during bootstrap, so clusters in isolated subnets or behind PrivateLink need the ECR FIPS endpoints configured, or nodes fail to join.

Ubuntu Pro FIPS

Canonical delivers FIPS modules through Ubuntu Pro: “Deploy certified modules with one Ubuntu Pro command to enable FIPS mode for the whole system.” Canonical says it has enabled FIPS 140-3 compliance from Ubuntu 22.04 LTS onwards and patches the modules while keeping their FIPS functionality unchanged. This fits self-managed clusters and node pools on Ubuntu, and container images built from Ubuntu bases.

Hardened FIPS container images

Several vendors sell container base images built on validated modules. They move the application-layer inventory problem to the vendor, which is attractive when you run many languages. Before you buy, ask for the CMVP certificate number of each module in each image, how patches are handled without breaking validated status, and how the images prove FIPS mode is active at run time.

Build or Buy?

FactorBuildBuy
Who owns the validationYou track which module and certificate each component usesThe vendor ships images or AMIs built on validated modules; you still own configuration
EffortRebuild images and components; test every librarySwap base images or AMI types; test
UpdatesYou follow each module’s validation cycle (Go plans at least yearly CMVP validations)The vendor ships patched builds; check that patches keep validated status
CostEngineering timeSubscriptions (Ubuntu Pro, hardened-image vendors) or the node OS your cloud provides (Bottlerocket on EKS)
Best forMostly Go services, small platform, strong in-house expertiseMany languages and images, audit deadlines, small security team

Most platforms end up mixed: buy the node layer (Bottlerocket on EKS or Ubuntu Pro elsewhere), build Go services with GOFIPS140, and buy or carefully build base images for the rest. Keep the decision per layer, and write down which module and certificate covers each one; that record is what an assessor will ask for.

Verify It in the Pipeline

  • Record the module per image. Generate an SBOM for every image and keep the crypto library and version in it; our guide to SBOMs and image signing with Cosign covers the pipeline side.

  • Test in strict mode. Run integration tests with GODEBUG=fips140=only in a test environment to find non-approved algorithms before production does.

  • Check node types in policy. Admission or IaC policy can reject node groups that don't use a FIPS AMI type in regulated clusters; see compliance as code for infrastructure.

  • Check TLS configuration. Validated libraries can still be configured with disallowed cipher suites; review ingress, mesh and client settings.

  • Track certificate status. Re-check CMVP status when you upgrade a module version, and when a certificate moves to the Historical list.

Frequently Asked Questions

Is Kubernetes FIPS compliant?

Kubernetes itself isn't validated; compliance depends on the cryptographic modules your nodes, components and workloads use. Use validated modules at each layer, run them in FIPS mode, and document which module and certificate covers what.

Are FIPS 140-2 modules still allowed?

NIST's CMVP guidance is that FIPS 140-2 modules remained acceptable through September 21, 2026, after which they move to the Historical list. New validations are FIPS 140-3 only, so target 140-3 modules for anything you build or buy now.

Is Go FIPS 140-3 validated?

The Go Cryptographic Module is. v1.26.0 is covered by CMVP certificate #5581 and v1.0.0 by #5247. Build with GOFIPS140 set to a validated version, on Go 1.24 or later, and run with FIPS mode on.

Do Bottlerocket FIPS AMIs make my EKS cluster compliant?

No. AWS says they make worker nodes “FIPS ready” but not automatically “FIPS-compliant.” Your workloads, platform components and configuration still need validated cryptography and documentation.

Should we build or buy FIPS cryptography?

Buy the node layer, and build where the platform makes it easy, as Go does with GOFIPS140. Buy base images when you run many languages or face an audit deadline with a small team.

Need a FIPS-ready Kubernetes platform?

We help US businesses plan and build Kubernetes platforms for regulated workloads: FIPS node pools, image inventories, Go and OpenSSL builds, and policy checks in the pipeline. The first 30-minute consultation is free.

Sources

See also: Security services · Managed Kubernetes services guide · Compliance as code for SOC 2 and ISO 27001

HostingX Solutions LLC logo

HostingX Solutions LLC

FinOps, DevOps, and automation for US businesses.

info@hostingx.solutions

Subscribe to our newsletter

Get monthly email updates about improvements.


© 2026 HostingX Solutions LLC. All Rights Reserved.

LLC No. 0008072296 | Est. 2026 | New Mexico, USA

Legal

Terms of Service

Privacy Policy

Acceptable Use Policy

Security & Compliance

Security Policy

Service Level Agreement

Compliance & Certifications

Accessibility Statement

Privacy & Preferences

Cookie Policy

Manage Cookie Preferences

Data Subject Rights (DSAR)

Unsubscribe from Emails