How do I enable FIPS mode in containers?

Solution Verified - Updated -

Issue

  • FIPS is enabled enabled on the host system, but how can I ensure my containers are running with FIPS enabled?
  • What do we need to do to have the container run in FIPS mode?
  • If an SSH client is launched in a container, the container does not report FIPS mode initialized.

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 3
  • Red Hat OpenShift Container Platform 4
  • Docker
  • Podman

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content