Where Ceph uses cryptography: messenger encryption, RGW TLS, dm-crypt and auth keys

Ceph uses cryptography in its cluster messenger, CephX authentication, RGW and dashboard TLS, RGW object encryption and OSD dm-crypt. Most of these are configurable, and only the TLS key exchange and certificate signatures depend on public-key algorithms.

On this page

Which parts of Ceph use cryptography and who should inventory them

A storage or security team building a cryptographic inventory for Ceph needs to cover six areas: the cluster messenger (msgr2), CephX authentication, RGW TLS and server-side encryption, dashboard TLS, certificate management through cephadm, and dm-crypt OSD encryption, along with where the keys for each are stored. An entry matters now because each area can rely on public-key algorithms, through TLS key exchange, certificate signatures or key protection, that will need review if post-quantum migration is planned. The facts in this section cover the upstream Ceph documentation and one Canonical distribution, Charmed Ceph. Owners should be the platform or storage engineers who deploy and operate the cluster, paired with the security lead who records the answers. Confirm each entry against the Ceph release your cluster actually runs, because settings differ across releases.

Start with the messenger and authentication entries, since they are the most precisely documented. msgr2 secure mode encrypts all post-authentication traffic using AES-128-GCM, while crc mode provides only integrity checking, and the ms_cluster_mode, ms_service_mode and ms_client_mode options default to crc secure. CephX relies on symmetric keys and does not depend on public-key algorithms, but the development documentation says the cipher key type for CephX keys had to be upgraded in 2026 from aes to aes256k, controlled through auth_allowed_ciphers, auth_preferred_cipher and auth_service_cipher. Confirm which cipher your keyrings use. The msgr2 documentation does not describe the key exchange mechanism, so ask the vendor or check the build's source to record it.

Every place Ceph uses cryptography, with its algorithm and public-key status

This table lists each Ceph area that uses cryptography, the algorithm family the documentation names, whether it depends on public-key algorithms, and where it is configured. Where the docs do not name a cipher, key type or key size, the cell says so, so you know what to confirm with the vendor or in your own environment. Public-key dependence for TLS and certificates is set by the linked OpenSSL and installed certificates, not by Ceph itself.

AreaWhat it protectsAlgorithm family (per docs)Public-key dependentWhere configured
msgr2 secure modeEncryption and integrity of post-authentication cluster and client trafficAES-128-GCMNot documented for key exchangems_cluster_mode, ms_service_mode, ms_client_mode (default crc secure)
msgr2 crc modeIntegrity check only (crc32c), no secrecycrc32c (integrity only, no encryption)Noms_cluster_mode, ms_service_mode, ms_client_mode
CephXAuthentication of principals and rotating service ticketsSymmetric keys (16-byte shared secret); cipher key types aes and aes256k, underlying algorithm for aes256k not statedNo, per the CephX protocol docsauth_cluster_required, auth_service_required, auth_client_required; auth_allowed_ciphers, auth_preferred_cipher
CephX message signingMessage authenticity (signatures, not encryption)HMAC-SHA256 (per Canonical Charmed Ceph; not named in upstream docs)Nocephx_sign_messages, cephx_require_signatures
RGW Beast TLSEncryption of S3 and Swift client connections to the gatewaySet by linked OpenSSL; Ceph exposes only cipher, option and group stringsYes (key exchange and certificate signatures from OpenSSL and installed certificates)ssl_certificate, ssl_private_key, ssl_ciphers, ssl_ciphersuites, tls_groups, ssl_options
RGW server-side encryption (SSE-C, SSE-KMS, SSE-S3)Data at rest in RGW objects, with customer-supplied or KMS-managed keysAES-256-CBC (legacy default) or AES-256-GCM (recommended for new deployments)Not documented; KMS connection uses HTTPS with the KMS provider's TLSrgw crypt sse algorithm, rgw_s3_block_sse_c_by_default; KMS backends: Barbican, Vault, KMIP
Dashboard HTTPSBrowser and API access to the Ceph dashboard; user passwordsTLS via linked OpenSSL; bcrypt for stored user passwordsYes for TLS certificates; RSA only in Squid and Tentacle, EC accepted from Umbrellaceph dashboard create-self-signed-cert, set-ssl-certificate, set-ssl-certificate-key
cephadm certmgrCertificates issued and rotated for internal Ceph servicesKey type and size not documented; confirm in your deploymentYes (issues X.509 certificates); key type and size not documentedmgr/cephadm/certificate_duration_days (default 1095), automated rotation, renewal 30 days before expiry
ceph-volume dm-cryptEncryption of OSD data at rest (LUKS), with the key held by the monitorsCipher, key size and default not documented in upstream docs; Canonical Charmed Ceph lists LUKS1 as AES-XTSNo for the disk cipher; key fetched from monitors as dmcrypt_keyceph-volume --dmcrypt at OSD creation

Which Ceph protocols terminate encryption and which settings choose their algorithms

Messenger v2 carries traffic between Ceph daemons and clients. Its secure mode encrypts all post-authentication traffic and adds an integrity check using AES-128-GCM, while its crc mode checks integrity without providing secrecy. The mode for each traffic class is set by a separate option, and the defaults differ between ordinary daemons and monitors.

  • Cluster, service and client modes: ms_cluster_mode, ms_service_mode and ms_client_mode each default to crc secure, which lists crc first as the preferred mode.
  • Monitor modes: ms_mon_cluster_mode, ms_mon_service_mode and ms_mon_client_mode each default to secure crc, so secure mode is preferred for monitor connections.
  • Runtime changes: none of the six mode options can be updated at runtime, so a change requires a restart of the affected daemons.
  • Compression with encryption: ms_compress_secure defaults to false, so compression is normally skipped when encryption is enabled.
  • Key exchange: the msgr2 documentation does not describe the key exchange mechanism and does not mention post-quantum cryptography or FIPS.

Confirm the effective mode of each traffic class on your cluster, because a preferred-mode default does not show what was negotiated. Ask the vendor or the upstream project which key exchange the linked build uses.

How administrators and tools reach Ceph and what protects each path

Administrators and tools reach a Ceph cluster through three management and access paths, and each has its own protection. The Ceph dashboard is served over HTTPS by default. You can generate a self-signed certificate with ceph dashboard create-self-signed-cert, or install your own with ceph dashboard set-ssl-certificate and ceph dashboard set-ssl-certificate-key. The dashboard documentation says that in Squid and Tentacle only RSA keys work and EC keys stop the module from starting, while Umbrella and later accept EC keys. User passwords are stored as bcrypt hashes. Confirm which key type your certificate uses against the release you run, because the dashboard will not start on Squid or Tentacle with an EC key.

The ceph CLI and cephadm orchestration form the second path. The facts supplied for this topic do not cover the transport cephadm uses to reach hosts, so you cannot assume from the Ceph documentation alone how orchestration traffic is protected. Confirm this in your own deployment by checking your cephadm version, the SSH configuration it relies on, and any network segmentation between the admin host and cluster nodes. The cephadm certmgr acts as a root CA for self-signed certificates, with mgr/cephadm/certificate_duration_days defaulting to 1095 days and automated rotation enabled by default. The documentation does not state the key type or size the certmgr generates, so record that as an open item for your inventory.

The RGW S3 and Swift endpoints are the third path, served by the Beast frontend with TLS settings including ssl_certificate, ssl_private_key, ssl_options, ssl_ciphers, ssl_ciphersuites and tls_groups. The ssl_options default leaves TLS 1.2 and later enabled, and tls_groups takes a colon-separated list whose valid names depend on your OpenSSL version. Key exchange and certificate signatures for RGW depend on the public-key algorithms that the linked OpenSSL and your installed certificates provide, because Ceph exposes only cipher, option and group strings. Separately, the internal daemon connections are protected by CephX, which uses symmetric keys and signed tickets rather than public-key algorithms, and the documentation strongly discourages disabling it. Record CephX as a symmetric-key control, and record the RGW and dashboard TLS settings as your public-key inventory items.

Release channels and update paths the vendor controls for Ceph

Ceph's release channels, membership body and distribution packaging determine which versions you can run, how long they are supported and who ships fixes to you. Each card covers one part of that update path, with the crypto-related settings that stay fixed until you upgrade or restart.

Upstream release channels

The Ceph releases page lists Umbrella 21.2.0 (released 2026-10-28), Tentacle 20.2.5 (released 2026-11-02) and Squid 19.2.7 (released 2026-10-12). Squid's estimated end of life is 2026-12-02, which means clusters still on it are past that date as of this page's research. Check which release each cluster runs with ceph versions, since msgr2, CephX and dashboard behavior differ across these lines.

Ceph releases

Ceph Foundation membership body

The Ceph Foundation, hosted by the Linux Foundation, pools member resources to coordinate investment, development and community work on Ceph. It does not ship a release that you install, so it is not the source of a security fix to your cluster. Ask the Foundation or upstream maintainers directly whether any post-quantum work is planned, since the Ceph documentation pages checked on 2026-12-03 contain no such statement.

Ceph Foundation

Distribution packaging such as Charmed Ceph

Distributions such as Canonical Charmed Ceph package Ceph with their own build, configuration and update cadence, so your patch timing may follow the distributor rather than upstream. Canonical's documentation lists cephx as AES-128 CBC with HMAC-SHA256 signatures and RBD encryption defaulting to AES256 XTS-plain64, and it mentions no post-quantum algorithms or FIPS. Confirm with your distributor which Ceph build you receive and whether its crypto libraries are patched on your schedule.

Charmed Ceph cryptography

msgr2 mode options need a restart

The msgr2 mode options ms_cluster_mode, ms_service_mode, ms_client_mode and their monitor variants cannot be changed at runtime. Their defaults are 'crc secure' for the first three and 'secure crc' for the monitor variants, so changing them means a daemon restart and planning around that outage. Review these values in your configuration before any change window, because they set whether traffic is encrypted.

msgr2 docs

Firmware and secure boot are outside Ceph

The facts describe no firmware signing or secure boot for Ceph, which runs as software on a host OS. Controls for signed firmware, boot chains and hardware roots of trust are set by your OS and hardware vendors, so ask them directly what they offer and what they have said about post-quantum signatures. Do not assume that a Ceph release implies any boot-level protection.

What to record for each Ceph cryptographic item in your inventory

This table lists the fields to capture for each Ceph cryptographic item, from msgr2 and CephX to RGW TLS, dashboard certificates and dm-crypt keys. Read each row as a column of your inventory record, and fill in the value from your own cluster and configuration files. Where the Ceph documentation does not state an algorithm or key size, the table says so and tells you what to confirm with the vendor or distribution.

FieldWhat to recordWhere the facts give it or where to confirm
Product and releaseExact Ceph release in use, such as Squid 19.2.7 or Tentacle 20.2.5, and the distribution or packaging usedRelease list at docs.ceph.com; confirm the packaged version with your distribution
Componentmsgr2, CephX, RGW, dashboard, cephadm certmgr or dm-crypt, one line per itemEach component's documentation page lists its own options
OwnerTeam or named role responsible for the setting, renewal and change approvalSet internally; Ceph does not define owners
LocationConfig file, config-key store, keyring path such as /etc/ceph/$cluster.$name.keyring, or certificate fileCephX default keyring path and RGW config:// prefix are documented; confirm the rest in your deployment
Algorithm and key sizeCipher, MAC, key type and size as stated by the componentmsgr2 secure mode uses AES-128-GCM; CephX key type aes or aes256k; dm-crypt cipher and key size are not stated in the Ceph docs and must be confirmed with the distribution
Certificate issuer and expiryIssuing authority, subject, and expiry date for RGW, dashboard and cephadm-managed certificatescephadm certmgr defaults to 1095-day certificates with renewal starting 30 days before expiry; confirm your own issuer and dates
Configurable or fixedWhether the setting can be changed and whether it can be changed at runtimemsgr2 mode options cannot be updated at runtime, per the development docs; check each other item in your environment
Protected data confidentiality periodHow long the data protected by the item must stay confidential, set by your data ownersSet internally by data owners; Ceph does not define this period

Which Ceph items depend on public-key algorithms and which use only symmetric keys

Most of Ceph's internal and client-facing cryptography relies on symmetric keys, which means an inventory can separate those items from the ones that need a closer look. CephX, the authentication protocol between clients, monitors and daemons, uses a 16-byte shared secret per principal and rotating service secrets for tickets. The CephX protocol documentation names no cipher, MAC or public-key algorithm for this exchange, so the engineer's working conclusion is that CephX does not depend on public-key cryptography. The same holds for the msgr2 secure mode, which encrypts post-authentication traffic with AES-128-GCM, and for dm-crypt disk encryption created with ceph-volume --dmcrypt, where the cipher is symmetric. The Canonical Charmed Ceph documentation lists the same symmetric choices for its own distribution, but that page describes Canonical's build, not upstream Ceph, so it should not be read as a statement about your cluster.

TLS is different. The RGW Beast frontend's key exchange and certificate signatures, and the dashboard's HTTPS, depend on public-key algorithms selected by the linked OpenSSL and by the certificate and key you install. The Ceph documentation exposes only cipher, option and group strings such as ssl_ciphersuites, ssl_options and tls_groups, so the actual algorithms must be confirmed against the OpenSSL build on each host and the certificates in use. The dashboard documentation states that in Squid and Tentacle only RSA keys work and EC keys stop the module from starting, while Umbrella and later accept EC keys. Confirm which release each node runs before recording that item.

For the full list of public-key dependencies, including the certificate authority that cephadm's certmgr operates, see the sibling page on Which Ceph functions depend on RSA and elliptic-curve keys. Record each TLS item with its certificate, key type and OpenSSL version so the inventory stays accurate as those components change.

How to collect the Ceph cryptographic data for your inventory

This sequence gathers, from a running cluster and its deployment, every setting, key, certificate and encrypted volume that Ceph uses for messenger encryption, RGW TLS, dm-crypt and authentication. The result is a dated inventory your team can check against the vendor documentation and your own records.

  1. Export the cluster configuration

    Run ceph config dump on a node with admin credentials and save the output with the date. Record the values of ms_cluster_mode, ms_service_mode and ms_client_mode, along with the monitor variants ms_mon_cluster_mode, ms_mon_service_mode and ms_mon_client_mode. Then check the CephX settings auth_cluster_required, auth_service_required and auth_client_required, plus cephx_require_signatures. The Ceph documentation says the msgr2 modes default to crc or secure and that none of these six can be changed at runtime, so confirm each value in your cluster matches what you expect. Done when you have a saved file with every value listed.

  2. List keyrings and config-key entries

    List the CephX principals with ceph auth ls, which shows each entity and its key, and note any entity that is not one you recognize. Check the keyring files on each host, which by default live at /etc/ceph/$cluster.$name.keyring. Then list the monitor config-key store with ceph config-key ls, since RGW can read its certificate and private key from there using a config:// prefix. Record which entries hold key material. Done when you have a list of every principal and every config-key entry that holds a key or certificate.

  3. Inspect the RGW frontend and its certificate

    Pull the Beast frontend configuration with ceph config get client.rgw or from your deployment files, and note ssl_port or ssl_endpoint, ssl_certificate, ssl_private_key, ssl_options, ssl_ciphers, ssl_ciphersuites and tls_groups. The documentation gives no default for the cipher and group options, so record the value you find or mark it as unset. Open the certificate file that ssl_certificate loads and read its subject, issuer, expiry and public key algorithm with openssl x509 -noout -text. Done when you have the certificate details and the exact frontend options recorded per gateway.

  4. Identify the dashboard certificate and key type

    The Ceph dashboard serves HTTPS by default, so confirm which certificate it presents. Run ceph dashboard create-self-signed-cert only if you need a test certificate, and do not run it on a production cluster to check what is already in use. For the installed certificate, read the key type from the value you set with ceph dashboard set-ssl-certificate and set-ssl-certificate-key, or from the file you loaded. The dashboard documentation says that in Squid and Tentacle only RSA keys work and EC keys stop the module from starting, while Umbrella and later accept EC keys. Record the Ceph release, the key type and the result. Done when you can state the key type and the release it runs on.

  5. Check cephadm certmgr for managed certificates

    If your cluster is deployed with cephadm, list the certificates it manages and their expiry dates. The certificate manager acts as a root CA for self-signed certificates, uses mgr/cephadm/certificate_duration_days (which defaults to 1095 days), and renews certificates starting 30 days before expiry when automated rotation is on. The documentation does not state the key type or size it generates, so ask the vendor or check the generated certificate directly with openssl x509. Note any certificate whose expiry falls within your review window. Done when you have each managed certificate with its expiry and an open question on its key type where the docs are silent.

  6. List OSDs and confirm dm-crypt use

    List the OSDs with ceph-volume lvm list on each OSD host and check whether each volume was created with --dmcrypt. The ceph-volume documentation says encryption is applied only when that flag is passed at creation, and that the key is sent to the monitors as a dmcrypt_key field and fetched at activation. The documentation does not state the cipher, key size or default, so record that as an item to confirm. Note which OSDs are encrypted and which are not. Done when you have a per-OSD list showing encryption status.

  7. Check the Ceph version against the releases page

    Run ceph versions to see the release each daemon runs, then compare it with the Ceph releases page at docs.ceph.com. That page lists Umbrella 21.2.0, Tentacle 20.2.5 and Squid 19.2.7, with Squid's estimated end of life given as 2026-12-02, and it was checked on 2026-12-03. Note any daemon running a release marked end of life and any mismatch between daemons. Done when the version of every daemon is recorded and matched to its release status.

  8. Ask the vendor about open cipher and key size

    Several items in this inventory are not stated in the Ceph documentation: the key exchange mechanism used by msgr2, the cipher and key size of dm-crypt volumes, the key type generated by cephadm certmgr, and what the aes256k CephX key type is built on. Send these questions to your Ceph vendor or distribution, and for distribution builds, check their own cryptography pages. Canonical's Charmed Ceph documentation, for example, lists some of these details for its own build, but it is not upstream Ceph. Record each answer with the date and the release it applies to. Done when every open item has a dated written answer or is marked as unanswered.

Common questions about Ceph cryptographic inventory

Is Ceph quantum safe?

The Ceph documentation does not support a quantum safe claim, and the Ceph project has published no post-quantum statement. The pages checked on 2026-12-03 (msgr2, CephX, RGW frontends, RGW encryption, the dashboard, cephadm certmgr and the security pages) do not mention ML-KEM, ML-DSA, SLH-DSA, post-quantum cryptography, FIPS or CNSA 2.0. What the docs do describe is symmetric protection for messenger traffic and CephX logins, plus TLS settings for RGW and the dashboard whose key exchange and certificate algorithms depend on the linked OpenSSL and the certificates you install. Treat the inventory as the starting point: record each cryptographic function and its algorithm, then ask your vendor or distributor for a written position on post-quantum support.

Which Ceph version should I record in the inventory?

Record the exact version of every daemon and client in the cluster, not only the release name, because cryptographic defaults and options differ between releases. The Ceph releases page, as of 2026-12-03, lists Umbrella 21.2.0 (released 2026-10-28), Tentacle 20.2.5 (released 2026-11-02) and Squid 19.2.7 (released 2026-10-12, estimated end of life 2026-12-02). Run ceph versions to list what each daemon type runs, and record the Linux kernel version on any CephFS or RBD client, since kernel support for CephX key types depends on it. Also record the OpenSSL version used by RGW, because TLS group names and key exchange depend on it.

Does the Ceph cryptographic inventory cost extra?

The inventory itself is mostly internal labor, plus any consulting time you buy. The main cost drivers are cluster size, the number of services that terminate TLS (RGW, the dashboard and any ingress you place in front of them), how many clients use CephFS or RBD kernel mounts, and whether dm-crypt or RGW server-side encryption is in use with keys held in external stores such as Vault, Barbican or KMIP. Each of those adds configuration records to collect and verify. Ask any quote to list who performs the discovery, which systems are covered, and whether a written inventory is a deliverable. Engagement terms are agreed in writing before work starts, and DeployOpen does not publish prices.

What should I ask my Ceph vendor about post-quantum support?

Ask for written answers to a short set of questions, dated and tied to a version:

  • Which msgr2 modes and CephX cipher types are supported, and which are the defaults in each release you run.
  • Whether any TLS key exchange group, such as those set through tls_groups, is post-quantum, and which OpenSSL build provides it.
  • Whether dashboard and RGW certificates can use EC or other key types in your release, since the dashboard documentation says EC keys stop the module from starting in Squid and Tentacle.
  • Whether a post-quantum statement, roadmap or deprecation notice exists, and its publication date.
  • For dm-crypt, which cipher and key size the tooling generates, since the ceph-volume documentation does not state them.

Keep the answers in your inventory file alongside the version they apply to.

Can my own team complete the Ceph inventory without a partner?

Yes, a storage team with access to the cluster and its configuration can record most of the inventory itself. The work is largely reading settings and recording them: ceph config dump and the msgr2 mode options, the auth_* and cephx_* options, the Beast ssl_* and tls_groups options, the RGW encryption settings, the dashboard certificate, the cephadm certificate lifecycle, and the ceph-volume dm-crypt setup on each OSD host. Assign one owner per function, record the version and the source of each value, and keep the document under change control. A partner is useful when you need an independent review, a retest after changes, or evidence formatted for an assessment, which DeployOpen can prepare but does not issue.

What changes between msgr2 secure and crc modes?

The two modes differ in whether traffic is protected by encryption. In secure mode, msgr2 fully encrypts all post-authentication traffic and adds a cryptographic integrity check, using AES-128-GCM. In crc mode, msgr2 adds only a crc32c integrity check and provides no secrecy. The msgr2 options ms_cluster_mode, ms_service_mode and ms_client_mode default to 'crc secure', so crc is listed first and preferred. The monitor options ms_mon_cluster_mode, ms_mon_service_mode and ms_mon_client_mode default to 'secure crc'. None of the six can be changed at runtime, so a mode change needs a planned restart. Also note that ms_compress_secure defaults to false, so compression is normally skipped when encryption is enabled.

How DeployOpen supports a Ceph cryptographic inventory

DeployOpen works with your team to map where your Ceph cluster uses cryptography across messenger encryption, RGW TLS, dashboard certificates, dm-crypt and CephX keys. The work produces an inventory you can check against your own configuration and the upstream Ceph documentation.

How we scope

  • Engagements are fixed-scope, with the Ceph releases, clusters and components covered agreed in writing before work starts.
  • The scope names which msgr2 modes, RGW frontends, dashboard certificates and OSD encryption settings are in the inventory.
  • Confirm with us which Ceph release each cluster runs, since defaults and available options differ between releases.

How we build

  • We read the live configuration of each cluster and record the msgr2 mode, CephX, RGW TLS and dm-crypt settings in use.
  • We list which certificates and keys the RGW, dashboard and cephadm certmgr use, including their issuer and expiry dates.
  • We check each finding against the upstream Ceph documentation and note where the documentation says nothing about an algorithm.

How we hand over

  • You receive a written inventory that separates symmetric CephX keys from certificates and other public-key uses.
  • Each finding states the component, the setting, the Ceph version it applies to and the source page it came from.
  • Open questions are listed separately, with the vendor or internal owner each one should be confirmed with.

How we support

  • Ongoing support, upgrades and repeat inventories are available as a retainer after the initial handover.
  • A retainer lets us refresh the inventory when you upgrade Ceph, change RGW certificates or add OSD encryption.
  • Quotes follow from the written scope, so ask for the components, cluster count and releases to be listed explicitly.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.