fips support in RHEL 7 operating systems.
Starting with version 4.3, you can install an OpenShift Container Platform cluster that uses fips Validated / Modules in Process cryptographic libraries.
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 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 meet the requirements of a fips compliance audit: only fips Validated / 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.
OpenShift Container Platform uses certain fips Validated / Modules in Process modules within Red Hat Enterprise Linux (RHEL) and RHCOS for the operating system components that it uses. See RHEL7 core crypto components. For example, when users SSH into 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.
Attributes | Limitations |
---|---|
fips support in RHEL 7 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 / Modules in Process cryptographic module and algorithms that are obtained from RHEL 7 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. |
Although the OpenShift Container Platform cluster itself uses fips Validated / Modules in Process modules, ensure that the systems that support your OpenShift Container Platform cluster use fips Validated / Modules in Process modules for cryptography.
To ensure that the secrets that are stored in etcd use fips Validated / 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.
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 / Modules in Process encryption. You can configure your cluster to encrypt the root filesystem of each node, as described in Customizing nodes.
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.
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 7 documentation.