Which parts of MongoDB use cryptography and why the inventory matters now
If you are building a cryptographic inventory, you need every place a MongoDB deployment uses cryptography, not only the obvious TLS listener. This is the locate phase of your post-quantum readiness work. The areas to record are client TLS on the net interface, replica set and sharded cluster membership, internal authentication through X.509 certificates or a keyfile with SCRAM, encryption at rest with the master key held in a KMIP server or a local keyfile, client-side field level encryption keys, FIPS mode, and any settings Atlas manages on your behalf. Assign ownership of this record to the platform or database team that runs the deployments, with the security lead reviewing it. Record each item against the specific deployment and MongoDB version, because the supported protocols, cipher options and parameters differ across releases. The current stable release listed in the release notes is 9.0, with 8.3, 8.0 and 7.0 also listed as previous stable releases, so confirm which version each cluster actually runs.
Most of the public-key dependencies sit in the TLS and certificate layer. Client connections use TLS with a certificate and key set by net.tls.certificateKeyFile, a root chain set by net.tls.CAFile, and ephemeral Diffie-Hellman or elliptic curve Diffie-Hellman key exchange for forward secrecy. Replica set and sharded cluster members can authenticate with X.509 certificates when security.clusterAuthMode is set to x509 and net.tls.clusterFile is configured, and a single CA must issue all member certificates. Certificate revocation depends on OCSP by default, with net.tls.CRLFile as the alternative. Confirm for each cluster whether it uses the cluster file or falls back to the client certificate for membership, and whether it uses a keyfile, which relies on SCRAM rather than public keys. The AES-256 used for storage encryption is symmetric, but the key-wrapping and KMIP transport around it are part of the same review.
Atlas and self-managed deployments differ, so the inventory needs a column for each. Atlas states that all network traffic uses TLS that cannot be disabled and that TLS 1.3 is the recommended default, and it issues certificates valid for 90 days and rotated 42 days before expiration. Self-managed MongoDB is offered in two editions, Enterprise Advanced and Community Edition, and FIPS mode with net.tls.FIPSMode is available only in Enterprise. Ask each owner to confirm the edition, the TLS library in use, which is Secure Channel on Windows, OpenSSL on Linux and BSD, and Secure Transport on macOS, and any custom cipher settings such as opensslCipherConfig or opensslCipherSuiteConfig. Record the results in the same format for every deployment so the later assessment of dependencies and upgrade options can rely on one list.
Every MongoDB location that uses cryptography
This table lists each MongoDB area that uses cryptography, what it protects, the algorithm family involved, whether it depends on public-key algorithms, and where it is configured. Use it as an inventory checklist, and confirm any area marked undocumented in your own environment.
| Area | What it protects | Algorithm family | Depends on public-key cryptography | Where configured |
|---|---|---|---|---|
| Client and cluster TLS | Client connections and links between nodes, including traffic to the server | TLS 1.2 and 1.3 with DHE and ECDHE key exchange; the TLS library is OpenSSL on Linux | Yes, for key exchange and server certificates | net.tls.mode, net.tls.certificateKeyFile, net.tls.CAFile, net.tls.disabledProtocols, opensslCipherConfig, opensslCipherSuiteConfig |
| Replica set and sharded member authentication | Membership of replica set and sharded cluster members | X.509 certificates when clusterAuthMode is x509 | Yes, certificates issued by one CA authenticate members | security.clusterAuthMode, net.tls.clusterFile, net.tls.certificateKeyFile |
| Internal keyfile authentication | Membership of members that use a shared secret instead of certificates | SCRAM challenge-response with a shared base64 key of 6 to 1024 characters | No | security.keyFile |
| SCRAM user logins | Database user credentials | SCRAM-SHA-1 and SCRAM-SHA-256 password hashing; scramSHA256IterationCount defaults to 15000 | No | authenticationMechanisms, scramSHA256IterationCount |
| OCSP and CRL revocation | Checks that presented X.509 certificates have not been revoked | OCSP checking, with a CRL file as an alternative | Yes, revocation checks rely on certificate infrastructure | net.tls.CRLFile; OCSP is enabled by default |
| Encryption at rest | Data files on disk in Enterprise self-managed deployments | AES256-CBC by default; AES256-GCM supported on Linux | No for data encryption; the master key is held in a KMIP server or keyfile, and KMIP uses TLS | Encryption at rest settings, KMIP server or local keyfile configuration |
| Client-side field-level encryption keys | Individual fields encrypted by the client application | Key management through AWS KMS, Azure Key Vault, Google Cloud KMS or KMIP | Depends on the key provider used | Client-side encryption configuration and the chosen KMS provider |
| FIPS mode | Cryptographic modules used by MongoDB Enterprise | FIPS 140-2 mode with the OpenSSL FIPS provider on supported platforms | Inherits the TLS and certificate dependencies above | net.tls.FIPSMode; Atlas FIPS settings |
| Firmware and update channels | Integrity of MongoDB software and updates | Vendor-controlled signing, not documented in detail for customers | Not documented | Vendor-controlled; not configurable by the customer; confirm with the vendor |
| Member certificate key sizes and signature algorithms | Strength of certificates used for member authentication | Not specified in the vendor's X.509 member authentication documentation | Yes, certificates depend on public-key algorithms | Undocumented; confirm the key sizes and signatures in your own environment |
Which MongoDB protocols and TLS settings choose the algorithms
MongoDB does not pick its own cipher suites in a single place. The TLS library on each platform, the net.tls settings and a few startup parameters together decide which protocol versions and ciphers a connection can negotiate. Check each of these on every node, since a setting missed on one member can leave that member on older defaults.
TLS library by platform
MongoDB hands TLS to the operating system's library: Secure Channel on Windows, OpenSSL on Linux and BSD, and Secure Transport on macOS. The cipher and protocol behavior you observe therefore depends partly on the library version installed on each host. On Linux, confirm the OpenSSL version that the MongoDB build uses, since the Atlas statements name OpenSSL 3.5 and self-managed deployments may run a different version. Record the library per host in your inventory.
MongoDB TLS docsChoosing the net.tls.mode value
The net.tls.mode setting accepts disabled, allowTLS, preferTLS and requireTLS. Only requireTLS forces every client connection to use TLS, while the other modes still accept plaintext connections from some clients. Find each mode in use, since a deployment left on allowTLS or preferTLS will still accept unencrypted sessions. Review this setting on every mongod and mongos process, not only on the entry point clients use.
Configuration optionsDisabling older protocol versions
net.tls.disabledProtocols takes a comma-separated list with no spaces, using the values TLS1_0, TLS1_1, TLS1_2 and TLS1_3. Setting it explicitly is the clearest way to see which versions a node will negotiate. MongoDB disables TLS 1.0 and 1.1 wherever TLS 1.2 or later is available, but a value set in a configuration file overrides that default. Confirm the effective list on each node rather than assuming the default applies.
Configuration optionsMinimum cipher key length
MongoDB allows only ciphers with a key length of at least 128 bits for all connections. This floor comes from the product, so it does not need a setting to enable. It does not tell you which ciphers are negotiated, however, so it should be read together with the cipher string and TLS 1.3 suite settings. Keep this item in the inventory as a verified fact for each version in use, and check it again after upgrades.
MongoDB TLS docsCipher string and TLS 1.3 suites
The opensslCipherConfig parameter sets the cipher string for TLS 1.2 and earlier. It applies on Linux and BSD only and can be set only at startup, and the parameters reference states no default. The opensslCipherSuiteConfig parameter, added in MongoDB 5.0, sets the colon-separated TLS 1.3 suites on Linux, for example TLS_AES_256_GCM_SHA384. Record both values if they are set, because an unset value leaves the library default in place.
Server parametersDiffie-Hellman parameters on Linux
On Linux, MongoDB enables DHE only when opensslDiffieHellmanParameters is set at startup. If that parameter is absent and ECDHE is enabled, MongoDB enables DHE with the ffdhe3072 parameters from RFC 7919 Appendix A.2. For ECDHE, MongoDB uses OpenSSL automatic curve selection where available and otherwise tries prime256v1. Check whether a custom parameter file is in place on each host, since the result changes which key exchange groups a connection can use.
MongoDB TLS docsWhere MongoDB certificates and keys are stored and who rotates them
Every self-managed MongoDB process that accepts TLS connections reads its server certificate and private key from one PEM file, set with net.tls.certificateKeyFile. The root CA chain that clients and peers use to validate that certificate is set separately with net.tls.CAFile. Both files live on the host, so the inventory must record each path on every mongod and mongos process, not once per cluster.
- Server certificate and key:
net.tls.certificateKeyFilepoints to a PEM file that holds the certificate and its private key. - CA chain:
net.tls.CAFilepoints to the root CA chain used to validate client and peer certificates. - Invalid certificates:
net.tls.allowInvalidCertificatesdefaults to false, so keep it at the default unless a documented exception applies. - Expiry warning: MongoDB logs a warning when a presented X.509 certificate expires within 30 days, which gives the rotation team a log signal to watch.
- Ownership: on self-managed clusters, the customer rotates these files and restarts or reloads the process.
Record each path and its owner, then check that expiry warnings reach a monitored log destination.
Replica set members and sharded cluster components can authenticate each other with X.509 certificates. When security.clusterAuthMode is set to x509 and net.tls.clusterFile is set, members present the certificate in the cluster file. If no cluster file is set, members fall back to the server certificate from net.tls.certificateKeyFile, so one certificate may serve both roles.
- Dedicated member file:
net.tls.clusterFileholds the member certificate and key when it is separate from the client-facing server certificate. - Fallback behavior: without a cluster file, the
net.tls.certificateKeyFilecertificate is used for membership. - Single issuing CA: a single CA must issue all member certificates, so the rotation plan should keep the CA stable across members.
- Coordinated renewal: replacing a member certificate on one node without the others can break membership, so rotate members in a planned sequence.
- Not specified by the vendor: the X.509 member authentication page does not state key sizes or signature algorithms, so confirm them with the vendor or in your own configuration.
Confirm which of the two configurations each cluster uses before scheduling any renewal.
MongoDB checks whether a presented TLS certificate has been revoked. By default it uses OCSP. The alternative is a certificate revocation list file, set with net.tls.CRLFile. The choice affects what the network must allow and what the rotation team must publish, so it belongs in the inventory alongside the certificate files.
- Default method: OCSP revocation checking is enabled by default.
- CRL alternative:
net.tls.CRLFilelets the process check revocation from a local list instead. - Network dependency: OCSP checks need the server to reach the responder, so record the responder path in firewall and egress rules.
- Renewal link: revoked or replaced certificates should be reflected in the OCSP responder or the CRL file, or revoked certificates may still be accepted in some configurations.
- Confirm in your build: verify the active method in your own logs and configuration rather than assuming the default applies.
Check which revocation method each deployment uses and whether its responder or CRL is updated on the same schedule as certificate renewals.
Self-managed MongoDB Enterprise encrypts data at rest with a master key. The key is held either in a KMIP server, which the vendor recommends, or in a local keyfile. KMIP operates over TLS, so the KMIP client certificate and the KMIP server's certificate are a second credential set to track. Internal member authentication can also use a keyfile, set with security.keyFile, which holds a shared secret used with SCRAM rather than a certificate.
- Recommended holder: the vendor recommends a KMIP server for the encryption master key.
- Local keyfile option: a local keyfile can hold the master key, which puts key custody on the database host.
- KMIP transport: KMIP connections use TLS, so track their certificates alongside the server files.
- Internal keyfile:
security.keyFileholds a shared secret for SCRAM member authentication, not an X.509 certificate. - Owner: the customer's key management or security team typically owns the KMIP server and its certificates.
Identify which holder each cluster uses and who controls the KMIP server, since that owner decides when its keys and certificates change.
On MongoDB Atlas, the vendor issues and rotates the TLS certificates for the clusters it runs, so customers do not replace those files on the host. Atlas states that its TLS certificates are valid for 90 days and rotated 42 days before expiration. Customers still own the parts that connect to Atlas, such as client certificates, application trust stores and any client-side field level encryption keys held in an external key service.
- Vendor rotation: Atlas rotates its own cluster TLS certificates 42 days before expiration, on a 90-day validity period.
- Customer-side trust: applications must trust the chain Atlas presents, so confirm client trust stores are updated when the chain changes.
- Client-side keys: field level encryption keys can sit in AWS KMS, Azure Key Vault, Google Cloud KMS or a KMIP-compliant service, and the customer manages those keys.
- TLS posture: Atlas states that network traffic uses TLS that cannot be disabled, and it rejects TLS 1.0 and 1.1.
- Confirm with the vendor: check the current Atlas certificate and chain details in the Atlas documentation before updating application trust stores.
Record Atlas-managed certificates separately from self-managed files, and assign the customer-side trust and key items to a named owner.
How administrators and applications reach MongoDB and what protects each path
Every MongoDB deployment has three distinct paths that carry cryptography, and each one needs its own inventory entry. The first is the client connection path, where applications and administrators reach mongod or mongos through a driver or shell. In self-managed deployments, the net.tls.mode setting controls whether TLS is disabled, allowTLS, preferTLS or requireTLS, and the server presents the certificate and key in the PEM file named by net.tls.certificateKeyFile. Clients validate that certificate against the chain in net.tls.CAFile. net.tls.allowInvalidCertificates defaults to false and should stay that way. Record which TLS library each host uses, since MongoDB relies on OpenSSL on Linux and BSD, Secure Channel on Windows and Secure Transport on macOS.
The second path is member traffic between replica set members and between shards and config servers. With security.clusterAuthMode set to x509 and a net.tls.clusterFile configured, members authenticate with X.509 certificates issued by a single CA. Without a cluster file, members reuse the certificateKeyFile certificate. The alternative is a keyfile set with security.keyFile, which uses SCRAM challenge-response with a shared secret of 6 to 1024 base64 characters. Confirm which method each cluster uses, because switching later means a rolling restart of every member. The vendor's X.509 member authentication page does not state key sizes or signature algorithms for these certificates, so ask MongoDB or check your own issuing CA's policy before you assume anything about them.
The third path is administrative: configuration files and startup parameters. Most TLS behavior lives in the YAML configuration file, and several controls exist only at startup. opensslCipherConfig, which sets the TLS 1.2 and earlier cipher string on Linux and BSD, is startup-only and has no stated default, so changing it requires a restart and a recorded value. opensslCipherSuiteConfig sets TLS 1.3 suites in the same way. FIPS mode is enabled with net.tls.FIPSMode: true and is available only in Enterprise. Confirm the startup log shows "FIPS 140-2 mode activated", and note that from MongoDB 8.3 specifying SCRAM-SHA-1 together with FIPS mode causes a startup error. Atlas is a separate case. Its documentation states that all network traffic uses TLS that cannot be disabled, that TLS 1.3 is the recommended default, and that encryption in transit uses the OS-provided OpenSSL 3.5. Atlas management-plane access is described separately by the vendor, so check that documentation for administrative logins to the control plane.
Which MongoDB update and software channels the customer cannot change
MongoDB's release channels, the OpenSSL and FIPS libraries under it, and the code-signing practices behind it are set largely by the vendor and the operating system vendor. Customers control only the OS library and the MongoDB version they run, so these cards show what sits outside their control and what to confirm before planning a post-quantum upgrade.
Current and previous stable releases
As read on 2026-12-03, the MongoDB release notes index lists 9.0 as the current stable release, with 8.3, 8.0 and 7.0 as previous stable releases. Which release a customer runs determines which TLS defaults, parameters and FIPS behavior apply, so each deployment's version should be recorded in the inventory. Confirm the support end date for each previous stable release with the vendor, since the release notes index does not state it.
MongoDB release notesUpcoming 9.1 release
The release notes index lists 9.1 as upcoming as read on 2026-12-03. Customers cannot choose its contents or timing, and the index does not describe any post-quantum change in it. Check the 9.1 notes when they are published, and confirm with the vendor whether 9.1 changes the TLS library, cipher defaults or certificate handling used by the deployment.
Release notes indexOpenSSL version and FIPS provider by platform
MongoDB uses Secure Channel on Windows, OpenSSL on Linux and BSD, and Secure Transport on macOS for TLS. On Linux, the OpenSSL version comes from the operating system, so the customer cannot pick it independently of the OS. MongoDB supports the OpenSSL 3.0 FIPS provider from 7.0 and 6.0.7 on RHEL 9, Amazon Linux 2023 and Ubuntu 22.04, and from 8.0 on Amazon Linux 2023.3. Confirm the exact OpenSSL build on each host, because it sets which algorithms are available.
MongoDB TLS docsWhat the customer controls directly
The customer controls two things: the OS library on each host and the MongoDB version it runs. Settings such as net.tls.disabledProtocols, opensslCipherConfig and net.tls.FIPSMode can be changed within those versions, but they do not alter the TLS library or its release channel. Plan the inventory around these two controls, and record the library and version per host.
Code signing and update verification
The vendor documentation supplied does not describe a firmware signing scheme for self-managed MongoDB. Customers should confirm code-signing and update-verification practices with the vendor before relying on them, including how packages are signed, which keys sign them, and how a customer verifies an update before installing it. Record the answers in the vendor-risk file.
What to record for each MongoDB cryptographic item
This table lists the fields to capture for each MongoDB cryptographic item, whether a connection setting, a replica set membership certificate, or a storage encryption key. Use it as a template for your inventory, filling each row from your own deployment, since the vendor documentation does not state every value. The fields that most often go missing are the member certificate key length and signature algorithm, which must be read from the issued certificate itself.
| Field | What to record | Where to find it |
|---|---|---|
| Product and edition | Enterprise Advanced, Community Edition, or Atlas, with the managed service tier where applicable | Deployment records; for Atlas, the project and cluster settings |
| Version and patch level | Exact MongoDB server version, such as 7.0, 8.0 or 9.0, with the patch release | Output of the server version command on each host, or the Atlas cluster version |
| Owner | The team or named person accountable for the component and its certificates | Your asset register or change records |
| Deployment location | Host, replica set, shard or Atlas project and cluster name where the item runs | Cluster topology and host inventory |
| Protocol | TLS version in use, plus the setting net.tls.disabledProtocols, or the Atlas minimum TLS setting | Configuration file or Atlas cluster settings |
| Algorithm and key size | Key exchange (DHE or ECDHE), cipher suite, and key length where the documentation states it | TLS configuration and the vendor's TLS documentation |
| Member certificate key and signature | Key length and signature algorithm of replica set and shard member certificates | Read from the issued certificate; the vendor documentation does not specify these |
| Certificate issuer and expiry | Issuing CA and the expiry date of each TLS and member certificate | Certificate file inspection, or Atlas certificate details |
| Configurable or fixed | Whether the setting can be changed by you, or is fixed by the vendor or the Atlas service | Vendor configuration reference and Atlas documentation |
| Confidentiality period | How long the data protected by this item must remain confidential | Data owner and records retention policy |
Which MongoDB items depend on public-key algorithms and fall in scope
The public-key dependencies visible in MongoDB's documentation sit in three places. The first is TLS key exchange. MongoDB supports forward secrecy cipher suites that use ephemeral Diffie-Hellman (DHE) and ephemeral elliptic curve Diffie-Hellman (ECDHE). On Linux, DHE is enabled when opensslDiffieHellmanParameters is set at startup, and otherwise, when ECDHE is enabled, MongoDB uses the ffdhe3072 parameters from RFC 7919 Appendix A.2. The second is the X.509 certificates used for TLS on net.tls.certificateKeyFile and net.tls.CAFile, and for replica set and sharded cluster member authentication when security.clusterAuthMode is set to x509 with net.tls.clusterFile. The third is revocation checking. MongoDB enables OCSP by default, with net.tls.CRLFile as an alternative. Engineers should inventory each of these items on every deployment, and note that the documentation does not state key sizes or signature algorithms for member certificates.
Several items in the same deployment are not public-key dependent in the documentation. AES-256 encryption at rest, which defaults to AES256-CBC on self-managed Enterprise and also supports AES256-GCM on Linux, is symmetric. SCRAM-SHA-256 password hashing is hash-based. The keyfile set with security.keyFile, which authenticates members through SCRAM challenge-response with a shared secret of 6 to 1024 base64 characters, is a shared secret, not a public key. The master key for encryption at rest, held in a KMIP server or local keyfile, is a key-management question that the documentation does not reduce to a single algorithm, so confirm how your KMIP service protects it. Client-side field level encryption keys can sit in AWS KMS, Azure Key Vault, Google Cloud KMS or a KMIP-compliant service, and those providers' key types should be checked separately.
For the full analysis of which MongoDB logins, connections and stored data depend on RSA and elliptic-curve keys, and which stronger settings exist today, see the sibling topic on which MongoDB functions depend on RSA and elliptic-curve keys. This section does not set out a migration plan. For Atlas-managed clusters, confirm TLS and certificate handling in the Atlas security settings, since the vendor describes its own certificate lifecycle, which differs from self-managed configuration.
How to collect the MongoDB cryptography facts from your own deployment
This sequence gathers the TLS, certificate, authentication and encryption-at-rest settings that a running MongoDB deployment actually uses, so the inventory reflects your configuration rather than defaults in the documentation. The output is a dated record you can check against vendor statements and bring to a post-quantum readiness review.
Read the running mongod and mongos configuration
On each mongod and mongos host, read the configuration file in use, and confirm the process with the command line it was started with, since a flag can override the file. Record the net.tls block (mode, certificateKeyFile, CAFile, clusterFile, disabledProtocols, allowInvalidCertificates, FIPSMode), the security block (clusterAuthMode, keyFile, authorization) and any opensslCipherConfig or opensslDiffieHellmanParameters settings. Where a setting is absent, record that it is absent. Done when every node in the deployment has a dated copy of these blocks, and you can name the file each value came from.
Check the startup log for FIPS and OpenSSL details
Search each node's startup log for the line "FIPS 140-2 mode activated", which appears only when FIPS mode is on in MongoDB Enterprise. Record the OpenSSL version the log reports and whether the OpenSSL FIPS provider is in use, since the vendor's TLS documentation lists supported operating systems and OpenSSL versions per release. Note any startup warning or error that mentions TLS, ciphers or authentication mechanisms. Done when each node has a recorded log line, or a note that the line is absent, together with the MongoDB version that produced it.
Inventory the TLS certificate files
List every file named in net.tls.certificateKeyFile, net.tls.CAFile and net.tls.clusterFile on each node. For each certificate, record the subject, issuer, serial, signature algorithm, key type and size, and the not-after date, using a tool such as openssl x509 with the text option, and confirm the file's permissions. Flag any certificate that expires within 30 days, since MongoDB logs a warning in that window. Done when you have one row per certificate file, with the node or cluster it serves.
Check internal authentication and mechanisms
Determine whether members authenticate with X.509 (security.clusterAuthMode set to x509) or with a keyfile (security.keyFile). For a keyfile, record its path and permissions and confirm it is the only internal credential in use, without copying its contents into your records. Then query the authenticationMechanisms setting and the mechanisms the server reports, and note whether SCRAM-SHA-1 is listed alongside SCRAM-SHA-256. For deployments on MongoDB 8.3 or later with FIPS mode on, a SCRAM-SHA-1 entry causes a startup error, so the presence of that entry is itself a finding to record. Done when each cluster has a recorded authentication method and mechanism list.
Inventory the key provider for encryption at rest
On self-managed Enterprise deployments with encryption at rest, identify the master key provider: a KMIP server or a local keyfile. For a KMIP server, record its host, the TLS certificate it presents and the client certificate MongoDB uses to reach it, with the same fields captured for other certificates. For a local keyfile, record its path and permissions. Also record the cipher the deployment uses (AES256-CBC or AES256-GCM). Ask the team which storage encryption mode is configured, because the configuration files alone may not show it. Done when you know which provider holds the master key and who administers it.
Export Atlas cluster settings and cipher configuration
For Atlas clusters, export the cluster configuration through the Atlas console or the Atlas Administration API, and record the minimum TLS version, the custom cipher suite selection, and whether any custom TLS 1.2 cipher list has been set. Atlas notes that a custom TLS 1.2 cipher configuration must be updated to include TLS 1.3 ciphers before moving to TLS 1.3, so record both the TLS 1.2 and TLS 1.3 entries if present. Record whether FIPS 140-2 is enabled, since it is off by default on Atlas and enabled automatically on Atlas for Government. Also record the certificate validity and rotation schedule the Atlas documentation describes, and confirm the values against your own cluster. Done when the export is saved with its date and the cluster name.
Put the questions for the vendor
Some facts cannot be read from configuration, including which key exchange groups a given build negotiates in practice, which signature algorithms the server certificates use under the vendor's default profile, and whether any post-quantum option is available in your edition and version. Write these questions down and send them to MongoDB through your support or account channel, quoting the MongoDB version and edition you run. For Atlas, ask the same questions for the managed service and its OpenSSL version. Record the answers with their dates, and note any question the vendor does not answer. Done when every open question has a named owner and a date for the reply.
Where MongoDB's TLS, replica set and storage keys sit along the client and cluster path
The path starts at a client opening a TLS connection to mongod, governed by net.tls.mode, net.tls.certificateKeyFile and net.tls.CAFile, with forward secrecy from DHE or ECDHE key exchange. Between replica set members, security.clusterAuthMode set to x509 with net.tls.clusterFile authenticates members by X.509 certificates, or a security.keyFile uses SCRAM. Revocation is checked by OCSP by default, with net.tls.CRLFile as the alternative. For encryption at rest, the master key sits in a KMIP server reached over TLS, or a local keyfile. Check each setting in your own configuration files.
Where MongoDB uses TLS, member authentication, revocation checks and key stores.
Questions engineers and vendor-risk reviewers ask about MongoDB cryptography
Is MongoDB quantum safe?
No product statement from MongoDB in the researched sources says it is quantum safe, and this entry does not make that claim. This page covers the locate phase only: it identifies where MongoDB uses cryptography, including TLS connections, X.509 member authentication for replica sets and sharded clusters, OCSP and CRL revocation checks, and encryption at rest with AES-256. The public-key parts are the TLS key exchange (DHE and ECDHE), the X.509 certificates, and the revocation checks. Whether any post-quantum algorithm is supported, and in which editions, is a separate question covered on other pages in this group. Confirm current support with MongoDB directly before relying on any statement about it.
Which MongoDB version and edition should the inventory cover?
The inventory should name the exact version and edition in use, because TLS defaults and FIPS behavior differ between them. MongoDB lists two self-managed editions, Enterprise Advanced and Community Edition, and Atlas is its managed service. Per the release notes index read on 2026-12-03, 9.0 is the current stable release, with 8.3, 8.0 and 7.0 as previous stable releases and 9.1 as upcoming. Record the exact build for each deployment, and for Atlas record the cluster tier and settings, since those are customer-configurable. FIPS mode is available only in Enterprise, so the edition determines whether it is an option at all.
Does a MongoDB cryptography inventory cost extra?
The researched sources do not give a price for any inventory work, and this entry does not estimate one. Cost depends mainly on how many deployments, replica sets, sharded clusters and Atlas projects you run, whether each uses TLS and X.509 member authentication, and whether you need to read configuration on every host. Ask your team or any outside provider to quote the scope in writing, listing the deployments covered, the configuration sources reviewed, the evidence collected and whether a report is delivered. DeployOpen fixes scope and deliverables in writing before work starts and does not publish a price list, so the quote follows from that agreed scope.
What does a configuration-file-only inventory of MongoDB miss?
A review of the configuration file alone misses settings that take effect outside it and values that depend on the runtime. Several relevant parameters are startup-only, such as opensslCipherConfig and opensslCipherSuiteConfig, so the running value must be confirmed on each process. The file also will not show whether a server used a default, for example when net.tls.allowInvalidCertificates defaults to false or when OCSP checking is enabled by default. Member authentication depends on whether net.tls.clusterFile is set, and client drivers, application connection strings and Atlas cluster settings sit outside the file entirely. Check the effective configuration on every node and the Atlas settings in the console or API.
What should I ask MongoDB about undocumented cryptography areas?
Ask for written answers on points the public documentation leaves open. Useful questions include which key sizes and signature algorithms are used for X.509 member and client certificates, since the member authentication page does not specify them, and which TLS library and OpenSSL version each self-managed build ships with. Ask how the OCSP and CRL revocation checks behave when responders are unreachable, what the default cipher configuration is for each supported release, and which hashing and key derivation applies to stored credentials. For Atlas, ask about the cipher suites in use and when they change, and for Enterprise, how the KMIP and key-file options are protected. Record each answer with its date and the product version it applies to.
Can our team collect the MongoDB cryptography data itself, or do we need outside help?
Your own engineers can usually collect the data, because most of it is in configuration files, the MongoDB manual and the Atlas console. The work is repetitive across many deployments, and it needs someone who knows which settings are startup-only, which are defaults, and where Atlas overrides apply. The core items are the TLS mode and disabled protocols, the certificate and CA files, the clusterAuthMode and clusterFile settings, the Encryption at Rest configuration, the FIPS setting and the running version. If you have few deployments and staff who can read TLS configuration, an internal inventory is feasible. If you have many clusters, regulated scope or limited time, consider outside help. DeployOpen plans and documents this kind of review with a written scope and evidence, and does not issue audit reports.
How DeployOpen helps build and maintain a MongoDB cryptographic inventory
A MongoDB cryptographic inventory has to cover client TLS, replica set and sharded cluster member authentication, and the encryption and key handling used for stored data. DeployOpen scopes that work in writing, builds the inventory against your own deployment, and hands over evidence your security and compliance teams can review.
How we scope
- Agree in writing which MongoDB editions, versions and deployment types are in scope, self-managed or Atlas.
- Confirm which of connections, replica set member links, and encryption at rest or field-level encryption the inventory covers.
- List the TLS libraries and OpenSSL versions each host uses, since MongoDB's TLS behavior differs by operating system.
How we build
- Record the net.tls, security.clusterAuthMode and security.keyFile settings from each mongod and mongos configuration.
- Trace certificate chains, key files and CA files, noting the issuer, key type and expiry for each one.
- Map the public-key dependencies: DHE and ECDHE key exchange, X.509 member certificates, and OCSP or CRL revocation checks.
How we hand over
- Deliver an inventory document listing each setting, the file that holds it and the version it was read from.
- Separate confirmed facts from items the vendor's documentation leaves open, so your reviewers can follow up with MongoDB.
- Provide a dated record of the FIPS mode and cipher configuration in use, with the reasons each was chosen.
How we support
- Ongoing support, upgrades and continuous review of the inventory are available as a retainer.
- Re-run the inventory after each MongoDB release upgrade, since release notes can change defaults and supported options.
- Keep the inventory current as certificates rotate, including Atlas certificates that rotate on a fixed schedule.

