Skip to content

FIPS 140-3 prerequisites

In FIPS 140-3 mode, DataRobot uses only cryptographic modules validated under FIPS 140-3, and runs each one in its approved mode:

  • OpenSSL FIPS provider
  • Bouncy Castle FIPS for Java
  • Go FIPS module

This page applies to Release 11.15 and later. FIPS 140-3 mode covers only the DataRobot services. You're responsible for using FIPS 140-3 validated modules in everything else in the installation—the Kubernetes nodes, service-to-service traffic, the ingress controller or load balancer, and any external data services.

Pre-install checklist

Complete all items in the following checklist before you install DataRobot or turn on FIPS 140-3 mode on an existing installation:

Nodes in FIPS mode

The node operating system and kernel are your part of the cryptographic stack. Every Kubernetes node that runs DataRobot workloads must boot in FIPS mode:

  • Amazon EKS: Use the FIPS-enabled Amazon Linux 2023 AMI on kernel 6.1 (CMVP certificate #5369).
  • Other platforms: Use the provider's FIPS-enabled node image.

To confirm FIPS mode on a node, check that /proc/sys/crypto/fips_enabled returns 1.

Service mesh

DataRobot relies on a service mesh that you provide to encrypt traffic between its services. A FIPS installation requires a mesh that encrypts that traffic with a FIPS 140-3 validated module.

The mesh must meet these requirements:

  • The data plane encrypts all pod-to-pod traffic with a FIPS 140-3 validated module.
  • If the mesh uses TLS, it enforces strict mutual TLS (mTLS) between all pods, with TLS 1.3 or with TLS 1.2 and the Extended Master Secret (EMS) extension.

Meshes that can meet these requirements include:

  • Istio, when both the control plane and the Envoy data plane are FIPS builds. Sources include:

    • Tetrate Istio Subscription FIPS builds
    • Solo.io FIPS builds of Istio
    • Chainguard's istio-pilot-fips and istio-proxy-fips images
    • OpenShift Service Mesh on an OpenShift cluster in FIPS mode

    Community Istio builds don't use a FIPS 140-3 validated module. In Istio ambient mode, ztunnel also needs a FIPS build.

  • Cilium transparent encryption in IPsec mode, with the rfc4106(gcm(aes)) algorithm in the cilium-ipsec-keys secret, on nodes that run in FIPS mode. IPsec uses the kernel's cryptography, so the nodes' FIPS mode covers it.

Don't use Cilium WireGuard encryption mode

WireGuard uses a fixed set of algorithms (ChaCha20-Poly1305, Curve25519, and BLAKE2s), and none of them are FIPS-approved. Cilium's strict-mode ingress encryption works only with WireGuard, so you can't use strict mode with IPsec.

These are examples, not products that DataRobot validates or supports. You choose the mesh and configure and verify its FIPS mode. A FIPS installation without a service mesh whose data plane uses a FIPS 140-3 validated module isn't supported.

See also TLS requirements.

Ingress and load balancer

TLS connections from browsers and API clients end at your ingress controller or load balancer, not inside DataRobot. Every component that terminates those connections must:

  • Use a FIPS 140-3 validated cryptographic module for TLS.
  • Use TLS 1.3. If a client can't use TLS 1.3, allow TLS 1.2 for it only with EMS and FIPS-approved cipher suites, and record it as an exception.

DataRobot includes a Chainguard FIPS build of ingress-nginx. To limit it to TLS 1.3, set ssl-protocols in the ingress-nginx Helm values:

controller:
  config:
    ssl-protocols: "TLSv1.3" 

If a load balancer in front of the ingress controller terminates TLS, it must meet the same requirements. Apply a FIPS TLS policy on the load balancer. If the load balancer re-encrypts traffic to the ingress controller, both components must meet the requirements.

The ingress controller and load balancer are part of your infrastructure, even when you use the ingress-nginx build that DataRobot includes. You choose, configure, and verify them. DataRobot doesn't validate third-party ingress controllers or load balancers. See DataRobot ingress settings.

Custom CA bundles

If you create your own CA bundle instead of using Trust Manager, create the PKCS12 bundle without encrypting the certificates. Java on a FIPS 140-3 installation can't read a PKCS12 bundle created with keytool's default settings, which encrypt the certificates, so it ends up trusting no CA. The PKCS12 bundle that Trust Manager creates can be used as is. See Manually creating the CA bundle with a private CA issuer.

TLS 1.2 and Extended Master Secret

In FIPS 140-3 mode, DataRobot allows a TLS 1.2 connection only if both sides support the Extended Master Secret (EMS) extension. DataRobot services connect over TLS 1.3, or over TLS 1.2 with EMS. If a broker offers only TLS 1.2 without EMS, see below.

Some brokers don't support EMS:

  • Self-managed RabbitMQ: RabbitMQ runs on Erlang/OTP, which doesn't implement EMS. Allow TLS 1.3 on the broker's TLS listeners. See Self-managed RabbitMQ.
  • Brokers that offer only TLS 1.2 without EMS: To connect to one, set rabbitmq.tls.allowMissingEMS: true on api-gateway-ext and network-policy-consumer-service. If a vendor manages the broker's TLS configuration, confirm with the vendor that it meets your FIPS 140-3 requirements. See Configure AWS MQ RabbitMQ.

Any gRPC endpoint that DataRobot connects to must support TLS 1.3, even if it supports EMS. For example, an OpenTelemetry collector that receives OTLP/gRPC exports from DataRobot must support TLS 1.3.

Database authentication

PostgreSQL and MongoDB must authenticate the DataRobot database users with SCRAM-SHA-256. In FIPS mode, MD5 credentials in PostgreSQL and SCRAM-SHA-1 credentials in MongoDB fail.

The DataRobot chart converts the databases it deploys, so bundled PostgreSQL and MongoDB need no action. If you manage your own databases, set them to use SCRAM-SHA-256 and reset the passwords of the DataRobot users. See Upgrade external PCS.

PostgreSQL password length

In FIPS mode, DataRobot's Java runtime uses Bouncy Castle FIPS in approved-only mode, which rejects SCRAM-SHA-256 passwords shorter than 112 bits. A shorter password fails with password must be at least 112 bits. Before you turn on FIPS mode, change any shorter passwords that DataRobot uses for PostgreSQL:

  • Data connections: Any PostgreSQL data connection that uses SCRAM-SHA-256 authentication needs a password of at least 14 characters. This applies to every PostgreSQL server that DataRobot reads from over JDBC, including the server DataRobot uses for its own data.
  • DataRobot's own database users: Some DataRobot services log in to DataRobot's PostgreSQL from the Java runtime, so these passwords also need at least 14 characters. Passwords that the chart generates are 16 characters. If you set the passwords yourself, such as for an external PostgreSQL, check their length.

Data connection authentication

In FIPS mode, data connections must not authenticate with MD5-based methods. Before you turn on FIPS mode, check the authentication method of each data connection:

  • PostgreSQL: The server must authenticate the connection's user with SCRAM-SHA-256, not md5. The password also needs at least 14 characters. See PostgreSQL password length.
  • Amazon Redshift: Store the password of the connection's user as a SHA-256 hash (sha256), not the default MD5 hash.
  • Microsoft SQL Server: NTLM authentication isn't supported in FIPS mode. Connections that use it fail with an R_ntlmHmacMD5Error error. Use SQL Server authentication, or Kerberos with the encryption types in Kerberos data connections.

Kerberos data connections

If any data connections use Kerberos authentication, such as Hive with Kerberos, complete these steps before you turn on FIPS mode. In FIPS mode, Kerberos works only with the RFC 8009 encryption types:

  • aes256-cts-hmac-sha384-192
  • aes128-cts-hmac-sha256-128

If the realm issues tickets with older encryption types, such as aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, or rc4-hmac, Kerberos data connections fail with an error such as KDC has no support for encryption type. If a keytab holds only keys of the older types, kinit -kt fails with Cryptosystem internal error.

Active Directory

Active Directory doesn't appear to issue tickets with the RFC 8009 encryption types, so Kerberos data connections against an Active Directory KDC likely won't work in FIPS mode. You may need a KDC that supports RFC 8009, such as MIT Kerberos.

  1. Confirm that your key distribution center (KDC) supports the RFC 8009 encryption types.
  2. Make sure that each principal DataRobot authenticates as has keys of an RFC 8009 type, in the KDC and in its keytab. To replace older keys, change the principal's password or generate a new keytab. Exporting a keytab with ktadd generates new random keys and invalidates every earlier copy of that keytab, so replace the keytab everywhere it's used.
  3. In the krb5.conf file that DataRobot uses, list only the RFC 8009 encryption types. If you don't, the client can still request the older SHA-1 types first. This is the krb5.conf in the Kubernetes secret that you created for Hive with Kerberos:

    [libdefaults]
        default_tkt_enctypes = aes256-cts-hmac-sha384-192 aes128-cts-hmac-sha256-128
        default_tgs_enctypes = aes256-cts-hmac-sha384-192 aes128-cts-hmac-sha256-128
        permitted_enctypes = aes256-cts-hmac-sha384-192 aes128-cts-hmac-sha256-128 
    
  4. Check the keys and tickets of each DataRobot principal:

    • klist -k -e <keytab> lists aes256-cts-hmac-sha384-192 or aes128-cts-hmac-sha256-128 entries.
    • klist -e on a ticket shows an RFC 8009 encryption type for both the ticket and the session key.

Kerberos passwords

Use passwords of at least 14 characters for Kerberos principals that DataRobot logs in with a password instead of a keytab. Password logins in DataRobot's Java runtime fail with password must be at least 112 bits on shorter passwords.

Uploaded JDBC drivers

If you upload your own JDBC drivers, use builds that don't bundle Bouncy Castle, or that shade it, before you turn on FIPS mode. A driver JAR that bundles its own unshaded Bouncy Castle, such as bcprov or bcpkix classes under org/bouncycastle, carries a cryptographic module that isn't FIPS validated. If it loads, the driver can do its cryptography outside Bouncy Castle FIPS. It also clashes with Bouncy Castle FIPS, so the driver can fail with NoClassDefFoundError or NoSuchMethodError. To check a driver, run unzip -l <driver>.jar | grep ' org/bouncycastle/'; any output means the driver bundles an unshaded Bouncy Castle. The JDBC drivers that DataRobot ships aren't affected.

Elasticsearch

Elasticsearch must run in FIPS mode. Either of the following meets this requirement:

  • The Elasticsearch that DataRobot includes, with an Elastic Platinum or Enterprise license and FIPS mode turned on. It runs on a FIPS Java runtime with Bouncy Castle FIPS, but its own FIPS mode is off by default. With FIPS mode off, Elasticsearch doesn't enforce FIPS-approved algorithms. To turn it on, set both values to true. The chart fails to render if they differ:

    elasticsearch:
      security:
        fipsMode: true
    es-upgrade:
      fipsMode: true 
    
  • An external Elasticsearch that runs in FIPS mode. DataRobot doesn't configure an external Elasticsearch, so you must turn on FIPS mode in your own Elasticsearch installation. See Elasticsearch offerings.

Elasticsearch FIPS mode requires an Elastic Platinum or Enterprise license. On a Basic license, Elasticsearch nodes in FIPS mode fail their license check and don't start.

Don't use FIPS mode with a trial license

An Elastic trial license reverts to a Basic license after 30 days. If Elasticsearch FIPS mode is on when that happens, Elasticsearch goes offline.

RabbitMQ

On a FIPS installation, each RabbitMQ broker that DataRobot includes runs as a single node. RabbitMQ nodes authenticate to each other, and the rabbitmqctl command authenticates to a node, with an MD5-based challenge that the Erlang runtime computes itself, outside any FIPS 140-3 validated module. DataRobot therefore doesn't run multi-node RabbitMQ clusters in FIPS mode.

This happens automatically when global.fips.enabled is true. You don't need to set anything, and a replicaCount that you set for rabbitmq or enclave-rabbitmq is ignored on a FIPS installation. Quorum queues are created with one replica.

A single-node broker has no high availability. While the broker pod restarts, for example during a node drain or an upgrade, DataRobot can't send or receive messages, and background work waits until the broker is back. Messages already in quorum queues are kept on the broker's persistent volume. Plan node maintenance with this in mind.

An existing installation whose bundled brokers run more than one replica must reset them before the upgrade that moves them to a single node. That is the upgrade that turns on global.fips.enabled or, if FIPS is already on, the first upgrade that brings in the single-node setting. Otherwise the remaining broker node can't start. For the steps, see Move the bundled RabbitMQ brokers to a single node.

If you use an external RabbitMQ instead, it must also meet the FIPS 140-3 requirements. It must negotiate TLS 1.3 with DataRobot, unless it offers only TLS 1.2 without EMS (see TLS 1.2 and Extended Master Secret), and a multi-node cluster has the same MD5-based node authentication unless its inter-node traffic runs over TLS. DataRobot doesn't support a highly available RabbitMQ configuration on FIPS installations.

Custom images and models

Build custom environments, custom models, and other images on a FIPS base image. Image Builder adds a FIPS self-test to every image it builds. An image that isn't built on a FIPS base image fails the self-test and exits with code 78 at startup.

A FIPS base image doesn't guarantee that everything in the image uses the FIPS module. Some Python packages include their own TLS library, which runs outside the FIPS module. For example, the stock cryptography and grpcio wheels bundle their own OpenSSL and BoringSSL, so build them from source against the image's OpenSSL. For what to check, see Build for a FIPS 140-3 installation. For how the self-test works, see FIPS 140-3 self-test for built images.

AWS FIPS endpoints

On AWS GovCloud, set global.fips.awsUseFipsEndpoint: true so DataRobot's AWS API calls go to FIPS endpoints. Notebook sessions and file storage need separate settings. See AWS FIPS endpoints.

For Amazon Bedrock models in the LLM gateway, set "use_fips_endpoint": true on each endpoint in the Bedrock credential. See Amazon Bedrock models.

Hash algorithm for existing installations

If you turn on FIPS 140-3 mode on an existing installation, set SAFE_HASH_LEGACY_ALGORITHM in the same upgrade:

  • md5 if the installation ran without FIPS mode.
  • sha1 if it ran in FIPS 140-2 mode.

New installations don't need this setting.

FIPS 140-3 mode switches the hash algorithm that DataRobot uses to SHA-256. That algorithm builds internal identifiers and the feature hashing in some models, such as Keras text models. Without SAFE_HASH_LEGACY_ALGORITHM, DataRobot can't find data stored under the earlier identifiers, so existing models fail to load and prediction requests return a Vertex is not stored error. After you set the value, don't change or remove it. For the order to set the values in and an example, see Existing installation.

Helm values

Set the Helm values last, after the other items in the checklist are complete. global.fips.enabled is the only value a new installation sets to turn on FIPS mode:

global:
  fips:
    enabled: true 

The chart sets the related values from it, including ENABLE_FIPS_140_3_MODE and the Image Builder self-test, so don't set those yourself. On an existing installation, also set SAFE_HASH_LEGACY_ALGORITHM in the same upgrade.

With FIPS mode on, the build service and image builders don't start if ALLOW_SELF_SIGNED_CERTS or DISABLE_HTTPS is true, or if a registry mirror is marked insecure.

The chart has its own preconditions, such as Kubernetes 1.30 or later and permission to create cluster-scoped admission policies. For those, and for every FIPS value and its default, see FIPS 140-3 Helm values.