This is a cache of https://docs.openshift.com/container-platform/4.12/installing/overview/installing-fips.html. It is a snapshot of the page at 2024-11-22T11:05:01.842+0000.
Support for <strong>fips</strong> cryptography - Installation overview | Installing | OpenShift Container Platform 4.12
×

You can install an OpenShift Container Platform cluster that uses fips validated or Modules In Process cryptographic libraries on the x86_64, ppc64le, and s390x architectures.

To enable fips mode for your cluster, you must run the installation program from a RHEL 8 computer that is configured to operate in fips mode. Running RHEL 9 with fips mode enabled to install an OpenShift Container Platform cluster is not possible.

For more information about configuring fips mode on RHEL, see Installing the system in fips mode.

For the Red Hat Enterprise Linux CoreOS (RHCOS) machines in your cluster, this change is applied when the machines are deployed based on the status of an option in the install-config.yaml file, which governs the cluster options that a user can change during cluster deployment. With Red Hat Enterprise Linux (RHEL) machines, you must enable fips mode when you install the operating system on the machines that you plan to use as worker machines. These configuration methods ensure that your cluster meets the requirements of a fips compliance audit: only fips validated or Modules In Process cryptography packages are enabled before the initial system boot.

Because fips must be enabled before the operating system that your cluster uses boots for the first time, you cannot enable fips after you deploy a cluster.

fips validation in OpenShift Container Platform

OpenShift Container Platform uses certain fips validated or Modules In Process modules within RHEL and RHCOS for the operating system components that it uses. See RHEL8 core crypto components. For example, when users use SSH to connect to OpenShift Container Platform clusters and containers, those connections are properly encrypted.

OpenShift Container Platform components are written in Go and built with Red Hat’s golang compiler. When you enable fips mode for your cluster, all OpenShift Container Platform components that require cryptographic signing call RHEL and RHCOS cryptographic libraries.

Table 1. fips mode attributes and limitations in OpenShift Container Platform 4.12
Attributes Limitations

fips support in RHEL 8 and RHCOS operating systems.

The fips implementation does not offer a single function that both computes hash functions and validates the keys that are based on that hash. This limitation will continue to be evaluated and improved in future OpenShift Container Platform releases.

fips support in CRI-O runtimes.

fips support in OpenShift Container Platform services.

fips validated or Modules In Process cryptographic module and algorithms that are obtained from RHEL 8 and RHCOS binaries and images.

Use of fips compatible golang compiler.

TLS fips support is not complete but is planned for future OpenShift Container Platform releases.

fips support across multiple architectures.

fips is currently only supported on OpenShift Container Platform deployments using the x86_64, ppc64le, and s390x architectures.

fips support in components that the cluster uses

Although the OpenShift Container Platform cluster itself uses fips validated or Modules In Process modules, ensure that the systems that support your OpenShift Container Platform cluster use fips validated or Modules In Process modules for cryptography.

etcd

To ensure that the secrets that are stored in etcd use fips validated or Modules In Process encryption, boot the node in fips mode. After you install the cluster in fips mode, you can encrypt the etcd data by using the fips-approved aes cbc cryptographic algorithm.

Storage

For local storage, use RHEL-provided disk encryption or Container Native Storage that uses RHEL-provided disk encryption. By storing all data in volumes that use RHEL-provided disk encryption and enabling fips mode for your cluster, both data at rest and data in motion, or network data, are protected by fips validated or Modules In Process encryption. You can configure your cluster to encrypt the root filesystem of each node, as described in Customizing nodes.

Runtimes

To ensure that containers know that they are running on a host that is using fips validated or Modules In Process cryptography modules, use CRI-O to manage your runtimes.

Installing a cluster in fips mode

To install a cluster in fips mode, follow the instructions to install a customized cluster on your preferred infrastructure. Ensure that you set fips: true in the install-config.yaml file before you deploy your cluster.

If you are using Azure File storage, you cannot enable fips mode.

To apply AES CBC encryption to your etcd data store, follow the Encrypting etcd data process after you install your cluster.

If you add RHEL nodes to your cluster, ensure that you enable fips mode on the machines before their initial boot. See Adding RHEL compute machines to an OpenShift Container Platform cluster and Enabling fips Mode in the RHEL 8 documentation.