MongoDB post-quantum compatibility: drivers, replica sets and Atlas

Whether MongoDB drivers, replica set links and Atlas clusters can move to post-quantum TLS depends on which TLS library and certificate chain each side uses, and the sources checked on 2026-12-03 do not state a post-quantum key exchange for any of them.

On this page

Can MongoDB drivers, replica sets and Atlas take a post-quantum TLS upgrade?

Application and platform teams running MongoDB face three kinds of TLS links: connections from drivers, member links inside a replica set, and Atlas clusters that the customer does not fully control. The sources checked on 2026-12-03 do not state any post-quantum key exchange for drivers, replica set members or Atlas, so compatibility depends on the TLS library each side ships. For self-managed deployments, MongoDB's manual says TLS is provided by Secure Channel on Windows, OpenSSL on Linux and BSD, and Secure Transport on macOS. Key exchange for forward secrecy uses DHE and ECDHE, and the manual does not list a post-quantum group among the options.

For self-managed MongoDB Enterprise and Community Edition, the library that matters on Linux is the OpenSSL build the server and each driver link against. Atlas states that encryption in transit uses the operating system's OpenSSL 3.5, in a security statement last updated 2026-09-30. Teams should confirm with MongoDB which OpenSSL version and TLS 1.3 cipher configuration apply to their Atlas tier, and should record that answer with the date. Client drivers run in each application's own runtime, so the team owning those services must check their TLS stack separately from the database servers.

Who needs this page: platform engineers who run self-managed replica sets, application owners whose drivers open connections to MongoDB, and security or vendor-risk leads who must record the answer for each TLS hop. Start by listing every member link, driver connection and Atlas cluster, with the TLS library and version for each. For self-managed replica sets, the manual says members authenticate with X.509 certificates when security.clusterAuthMode is set to x509 with net.tls.clusterFile, and a single CA must issue all member certificates. Any change to the certificate chain or the TLS library affects every member at once, so the rollout order matters.

For Atlas, the cluster setting that matters is the custom cipher configuration. The Atlas cluster settings documentation says a custom TLS 1.2 cipher list must be updated to include TLS 1.3 ciphers before moving to TLS 1.3. Ask MongoDB in writing whether any post-quantum key exchange is planned for Atlas, and treat a missing answer as no commitment. Record each TLS hop, its library and version, and the date of the vendor answer, so the inventory can be checked again when MongoDB publishes changes.

Compatibility by link, version and deployment model

This table compares each MongoDB connection type with the TLS library or setting that governs it, the versions or editions it applies to, and the source date. Read each row as a question to confirm in your own environment, since driver and client behavior is not covered in the sources listed. The main takeaway is that the TLS library differs by operating system, and that Atlas and self-managed deployments are configured through different settings.

LinkGoverning TLS library or settingVersion or edition it applies toSource date
Driver to server connection (self-managed)OpenSSL on Linux and BSD, Secure Channel on Windows, Secure Transport on macOS; net.tls.mode, net.tls.disabledProtocolsSelf-managed MongoDB, current manual; OpenSSL 3.0 and FIPS provider supported on 7.0 and 6.0.7 for RHEL 9, Amazon Linux 2023 and Ubuntu 22.04Checked 2026-12-03 (MongoDB TLS Docs)
Driver to server connection (TLS 1.3 cipher suites)opensslCipherSuiteConfig on Linux, set at startupMongoDB 5.0 and later, Linux only; the TLS 1.2 and earlier cipher string is set separately with opensslCipherConfigChecked 2026-12-03 (MongoDB Parameters)
Replica set member linkssecurity.clusterAuthMode set to x509 with net.tls.clusterFile; keyfile via security.keyFile as the alternativeSelf-managed MongoDB; a single CA must issue all member certificates for X.509 member authenticationChecked 2026-12-03 (MongoDB X.509 Member Auth; MongoDB Internal Auth)
Sharded cluster linkssecurity.clusterAuthMode set to x509 with net.tls.clusterFile, the same mechanism as replica set membersSelf-managed MongoDB; the sources do not separately document sharded cluster settings, so confirm with the vendorChecked 2026-12-03 (MongoDB X.509 Member Auth)
Atlas client connectionsTLS that cannot be disabled, with TLS 1.3 as the recommended default; minimum TLS version setting corresponds to net.tls.disabledProtocolsAtlas managed service; OS-provided OpenSSL 3.5 for encryption in transitLast updated 2026-09-30 (MongoDB Security Measures; Atlas Cluster Settings)
Atlas internal linksEncryption in transit using OS-provided OpenSSL 3.5; the sources do not describe the internal member authentication mechanismAtlas managed service; confirm internal link details with the vendorLast updated 2026-09-30 (MongoDB Security Measures)
Atlas custom cipher suitesCustom TLS 1.2 cipher configuration must include TLS 1.3 ciphers before moving to TLS 1.3Atlas managed service, when custom cipher suites are selectedChecked 2026-12-03 (Atlas Cluster Settings; Atlas Encryption Blog)

Which parts of a TLS upgrade touch drivers and replica sets

A post-quantum TLS change in MongoDB reaches more than the server binary. Client drivers, the TLS libraries under both sides, the certificate files, member authentication between replica set nodes, revocation checks and, for Atlas customers, the provider's managed settings each carry a separate part of the handshake. The sources checked do not publish post-quantum key exchange status for any of these components.

Driver TLS library

Each driver negotiates TLS through the TLS library of the host application, not through MongoDB's server code. The MongoDB TLS documentation lists the server-side libraries (Secure Channel on Windows, OpenSSL on Linux and BSD, Secure Transport on macOS), but the sources checked do not state which TLS library or version each driver uses. Check the driver version and the runtime's OpenSSL or platform library version in every application, since an upgraded server does not change what a client offers during the handshake. The sources checked do not publish post-quantum key exchange status for drivers.

MongoDB TLS docs

Server TLS library and cipher configuration

On Linux, the server's TLS behavior is set by net.tls.mode, net.tls.disabledProtocols, opensslCipherConfig for TLS 1.2 and earlier, and opensslCipherSuiteConfig for TLS 1.3, which MongoDB added in version 5.0. The opensslCipherConfig parameter has no stated default in the parameters reference, so confirm the value running on each node. The sources checked do not publish post-quantum key exchange status for the server's cipher configuration. Any future change here must be tested against every driver in use.

Parameters reference

Certificate and key files

The net.tls.certificateKeyFile setting points to the PEM file holding the node's certificate and private key, and net.tls.CAFile points to the root CA chain that clients and peers validate against. A new certificate or CA chain must be deployed to every node and to every client trust store before it takes effect. The sources checked do not state which key types or signature algorithms the server accepts in these files. Confirm this with the product's documentation before issuing replacement certificates.

Configuration options

X.509 member authentication with clusterFile

For replica sets and sharded clusters, security.clusterAuthMode set to x509 with net.tls.clusterFile makes members authenticate each other with X.509 certificates. All member certificates must be issued by a single CA. If no cluster file is set, members fall back to the net.tls.certificateKeyFile certificate for membership. The sources checked do not specify key sizes or signature algorithms for these certificates, so changing the member certificate chain needs a rolling plan that keeps every member able to authenticate during the change.

X.509 member auth guide

OCSP and CRL revocation checks

MongoDB enables OCSP certificate revocation checking by default, and net.tls.CRLFile is the alternative. When a presented X.509 certificate expires within 30 days, the server logs a warning. Certificate authority and responder changes can affect whether revocation checks succeed, so confirm that OCSP responders are reachable from every node and from clients that check revocation. The sources checked do not publish post-quantum status for revocation checking.

TLS revocation section

Atlas managed TLS

On Atlas, all network traffic uses TLS that customers cannot disable, and the provider's security statements name TLS 1.3 as the recommended default and OpenSSL 3.5 as the library used for encryption in transit. Atlas TLS certificates are valid for 90 days and rotated 42 days before expiry, so customers do not manage those certificates directly. Custom cipher suites on Atlas must be updated to include TLS 1.3 ciphers before moving to TLS 1.3. The sources checked do not publish post-quantum key exchange status for Atlas.

Atlas security configuration

How the answer changes by deployment model

Self-managed MongoDB Enterprise Advanced is the only self-managed edition in which FIPS mode is available. The TLS library is determined by the host operating system: Secure Channel on Windows, OpenSSL on Linux and BSD, and Secure Transport on macOS. On Linux, the OpenSSL FIPS provider is supported on RHEL 9, Amazon Linux 2023 and Ubuntu 22.04 with MongoDB 7.0 and 6.0.7, and Amazon Linux 2023 is also supported starting in 8.0. The settings you control are listed below.

  • TLS mode and protocols: net.tls.mode accepts disabled, allowTLS, preferTLS or requireTLS, and net.tls.disabledProtocols takes TLS1_0, TLS1_1, TLS1_2 and TLS1_3 as a comma-separated list with no spaces.
  • Cipher configuration: opensslCipherConfig sets the TLS 1.2 and earlier cipher string on Linux and BSD, and it is startup-only with no stated default. opensslCipherSuiteConfig, added in MongoDB 5.0, sets TLS 1.3 suites on Linux at startup.
  • Key exchange: On Linux, DHE is enabled when opensslDiffieHellmanParameters is set at startup. Otherwise, with ECDHE enabled, DHE uses the ffdhe3072 parameters from RFC 7919 Appendix A.2.
  • FIPS mode: net.tls.FIPSMode: true enables it (default false), and the log then shows "FIPS 140-2 mode activated". The vendor's FIPS page references only FIPS 140-2.
  • Encryption at rest: The master key sits in a KMIP server (recommended) or a local keyfile, and KMIP runs over TLS.

Confirm the OpenSSL build and the FIPS provider on each host, and record the FIPS 140-2 scope separately from any post-quantum statement.

What to check before changing TLS settings across drivers and members

This sequence builds an inventory of the driver, server, certificate and cipher settings that a TLS change touches, so the team knows what to upgrade and what to test before changing anything. Each step closes with a check that the item has been recorded or confirmed. The output is a dated record that application, platform and security teams can review together.

  1. Inventory driver versions and their TLS libraries

    Application and platform teams list every MongoDB driver in use, with its exact version and the language runtime it runs on, including drivers embedded in internal services, batch jobs and third-party tools. For each driver, record which TLS library the runtime loads, since the driver's TLS behavior depends on that library and not only on the driver version. The step is closed when every application that connects to MongoDB has a row with a driver version, runtime and TLS library, and the owners have signed off on the list.

  2. Record the server version and edition

    The database team records the MongoDB server version on every deployment, including the release line in use (9.0, 8.3, 8.0 or 7.0 at the time of checking, with 9.1 listed as upcoming) and whether each deployment is Enterprise Advanced, Community Edition or Atlas. Edition matters because FIPS mode is available only in Enterprise, and some settings differ between self-managed and managed deployments. The step is closed when each deployment has a server version, edition and hosting model recorded, checked against the release notes for that version.

  3. Confirm the TLS library on each host

    For each self-managed host, the platform team confirms which TLS library the mongod or mongos process uses, which the vendor documents as Secure Channel on Windows, OpenSSL on Linux and BSD, and Secure Transport on macOS. On Linux, the team also records the OpenSSL version and whether the OpenSSL FIPS provider is in use, since MongoDB lists supported OpenSSL 3.0 combinations by operating system. Atlas customers note that encryption in transit uses the OpenSSL version the vendor states for its platform rather than a version they select. The step is closed when every self-managed host has a recorded TLS library and OpenSSL version, and each Atlas cluster is noted as managed.

  4. Check cipher configuration and Atlas custom cipher rules

    The platform team reads the current values of opensslCipherConfig, which sets the TLS 1.2 and earlier cipher string on Linux and BSD and can be set only at startup, and opensslCipherSuiteConfig, which sets the TLS 1.3 cipher suites on Linux at startup. Where custom ciphers are set, the team records the exact string, since the reference states no default for opensslCipherConfig. For Atlas clusters, the team checks any custom cipher configuration, because the vendor says a custom TLS 1.2 configuration must be updated to include TLS 1.3 ciphers before moving to TLS 1.3. The step is closed when each host and Atlas cluster has its cipher settings written down, with any custom values marked for review.

  5. Confirm certificates and the single CA for member authentication

    For replica sets and sharded clusters, the security team checks whether security.clusterAuthMode is set to x509 with net.tls.clusterFile, or whether members use the net.tls.certificateKeyFile certificate for membership. The team confirms that a single CA issues all member certificates, since the vendor requires this for X.509 member authentication, and records the CA chain referenced by net.tls.CAFile. They also check that net.tls.allowInvalidCertificates is false, its default, and note the expiry dates of member certificates. The step is closed when each replica set and sharded cluster has a recorded certificate source, a single issuing CA and an expiry date for every member certificate.

  6. Ask the vendor for its post-quantum key exchange statement

    The security or vendor-risk lead sends a written question to MongoDB asking what it has published about post-quantum key exchange for the editions and Atlas services the organization uses, and asks for the version and date of any statement. The team should compare the answer with the topic's findings on current TLS key exchange (DHE and ECDHE) and ask whether any post-quantum option is planned, without assuming one exists. The step is closed when the written response is on file with its date, and any gap the vendor does not address is recorded as an open item for the migration plan.

What the sources checked do not state about drivers, replica sets and Atlas

The MongoDB manual, the Atlas security pages and the release notes cover TLS, X.509 member authentication and FIPS, but they do not settle how drivers, replica set links and managed clusters will move to post-quantum key exchange. The cards below list each gap as a question to put to MongoDB before you plan an upgrade.

Post-quantum key exchange for MongoDB

The TLS documentation describes forward secrecy using DHE and ECDHE, with OpenSSL automatic curve selection on Linux and prime256v1 as a fallback. None of the sources checked names a post-quantum or hybrid key exchange group for MongoDB servers or clients. Ask MongoDB whether it plans to offer one, in which releases, and whether it would be selectable through net.tls settings or through opensslCipherSuiteConfig.

MongoDB TLS docs

Driver-side TLS library versions

Drivers reach the server through the TLS library of their own runtime, so an application's key exchange depends on the driver version and the operating system's OpenSSL, not only on the server. The sources checked do not list which TLS library versions each driver release requires, or whether any driver exposes post-quantum groups. Ask MongoDB which driver versions and TLS library versions are supported for each server release and whether that matrix will change.

Release notes index

Hybrid key exchange in Atlas

Atlas states that TLS cannot be disabled, that TLS 1.3 is the recommended default and that encryption in transit uses the operating system's OpenSSL 3.5. It also lets customers select custom cipher suites. The security pages checked do not say whether any hybrid key exchange option is offered on Atlas clusters or on the internal links between Atlas nodes. Ask MongoDB whether a hybrid group will be selectable on Atlas and whether it will apply to cluster-to-cluster traffic.

Atlas cluster settings

Member certificate key and signature requirements

Replica set and sharded cluster members authenticate with X.509 certificates when security.clusterAuthMode is set to x509, and a single CA must issue all member certificates. The X.509 member authentication page does not state key sizes or signature algorithms for those certificates. Ask MongoDB which key types and signature algorithms it accepts for member certificates, and whether a post-quantum or larger-key certificate would be accepted before a CA supports one.

X.509 member auth

Timing of any vendor change

The release notes index lists 9.0 as the current stable release, with 9.1 upcoming, as read on 2026-12-03. The sources checked contain no statement on when MongoDB will ship post-quantum support in drivers, self-managed servers or Atlas, and no deprecation date for current key exchange. Ask MongoDB for a written statement on post-quantum timing for each product line, and for the date that statement was made.

Release notes

What can break when only one side of a connection changes

The most common failure in a mixed-version or partly upgraded deployment is that one end of a connection can negotiate a key exchange or cipher suite that the other end cannot. Teams should check every side of each link before changing TLS settings on any one of them. For self-managed MongoDB, the TLS library is the first thing to inspect: MongoDB uses Secure Channel on Windows, OpenSSL on Linux and BSD, and Secure Transport on macOS. A driver or member built against an older TLS library may not offer TLS 1.3 or the newer key exchange options at all, so a server that is tightened to prefer them can leave that client unable to connect. Confirm the TLS library and version used by each application driver and each replica set member, and confirm the TLS 1.3 support of each library, before changing net.tls.disabledProtocols or the cipher settings on the server side.

Replica sets and sharded clusters add a second dependency. With security.clusterAuthMode set to x509 and net.tls.clusterFile configured, members authenticate each other with X.509 certificates, and a single CA must issue every member certificate. A mixed fleet, where some members receive certificates from a different CA or a re-keyed chain, will fail membership checks in ways that look like network faults. If no cluster file is set, members fall back to the net.tls.certificateKeyFile certificate for membership, so a certificate change on one member can break the set. Before rotating, list the CA chain each member trusts through net.tls.CAFile and confirm that every member can validate the new chain. The member authentication documentation does not specify key sizes or signature algorithms for these certificates, so the reader should confirm those with the vendor for their version.

On Atlas, the risk comes from custom cipher suite selections. Atlas lets customers select custom cipher suites, and the vendor's guidance is that a custom TLS 1.2 cipher configuration must be updated to include TLS 1.3 ciphers before moving to TLS 1.3. A custom list that omits TLS 1.3 ciphers can therefore block clients that have moved to TLS 1.3, while Atlas still accepts TLS 1.2 connections, so the failure may appear only for some drivers. Review each Atlas cluster's additional settings and compare the cipher list against the TLS 1.3 suites that your driver versions support. Separately, the forward-secrecy settings can fall back silently. On Linux, if opensslDiffieHellmanParameters is not set and ECDHE is enabled, MongoDB enables DHE using the ffdhe3072 parameters from RFC 7919 Appendix A.2, and where OpenSSL automatic curve selection is unavailable, it tries prime256v1. None of these fallbacks produces a warning, so verify the negotiated parameters with a test client rather than assuming them.

Questions replica set and application teams ask about drivers and Atlas

Is MongoDB quantum safe for drivers and connections?

No product statement in the sources checked supports calling MongoDB quantum safe, and the sources do not list post-quantum algorithms for driver connections. What is documented is the TLS layer: MongoDB disables TLS 1.0 and 1.1 where TLS 1.2 or later is available, allows only ciphers with at least 128-bit keys, and uses forward secrecy suites based on DHE and ECDHE. Those key exchanges and the X.509 certificates behind them rely on public-key cryptography. Confirm with MongoDB which TLS library and version your driver and server build use, and whether any post-quantum key exchange is offered.

Which MongoDB version and driver version do I need?

The sources checked do not state a minimum driver version for post-quantum support, so do not assume one. 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 and 9.1 as upcoming, as read on 2026-12-03. Driver-side TLS depends on the library each driver uses. Check each driver's release notes and the server release notes together, and confirm with MongoDB which combinations have been tested for any future post-quantum key exchange.

Does upgrading MongoDB for post-quantum TLS cost extra?

The sources checked give no price or fee for any post-quantum upgrade, so no figure can be stated here. Costs typically come from the software version and its licensing, which the MongoDB Enterprise Advanced and Community Edition distinction affects, from Atlas tier pricing if you use managed clusters, and from the engineering time to test drivers, replica set links and certificate rotation. Ask MongoDB whether any post-quantum capability is included in your edition or tier, and ask your team to estimate the testing effort in writing before budgeting.

What could break when I change TLS settings on replica sets?

The main risks are in the settings that control which protocols and ciphers are accepted, because a driver or member that does not support the new choice will fail to connect. The relevant settings are net.tls.mode, net.tls.disabledProtocols and opensslCipherSuiteConfig for TLS 1.3 on Linux. For replica sets, security.clusterAuthMode set to x509 and net.tls.clusterFile require a single CA to issue all member certificates, so a CA change affects every member at once. 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. Test changes on a non-production replica set first.

What should I ask MongoDB before planning a migration?

Ask MongoDB for written answers on several points the sources do not settle. Which TLS library and version each supported server release uses, including whether OpenSSL 3.5 is used on Atlas and in self-managed builds. Whether any post-quantum key exchange or certificate type is planned, and on what date. Which driver versions have been tested against those changes. How X.509 member authentication and OCSP or CRL revocation checking will be handled during a certificate change. Whether FIPS mode, which is limited to MongoDB Enterprise and references only FIPS 140-2, affects the choices. Request the answers in writing and date them.

Can my team do the drivers and Atlas work itself, or do we need outside help?

Your team can do the inventory and configuration work itself if it has engineers who manage MongoDB, drivers and TLS certificates. That covers listing every driver version, mapping replica set and cluster links, and recording the current TLS settings. Outside help is worth considering for staged testing across many applications, for certificate rotation that touches every member, and for producing evidence an auditor will request. DeployOpen plans, implements, tests and documents self-hosted platforms inside your infrastructure, and it prepares evidence for compliance assessments without issuing audit reports. Agree the scope in writing before work starts.

How does Atlas handle TLS certificates and rotation?

Atlas 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 OpenSSL 3.5 supplied by the operating system, as of a page last updated 2026-09-30. Atlas TLS certificates are valid for 90 days and rotated 42 days before expiration. Atlas rejects TLS 1.0 and 1.1, and its minimum TLS version setting corresponds to net.tls.disabledProtocols. Because rotation is managed by Atlas, confirm with MongoDB how any future post-quantum certificate type would be introduced and whether you would need to change client settings.

How DeployOpen helps plan and test MongoDB TLS changes

DeployOpen plans and tests MongoDB post-quantum compatibility across drivers, replica sets and Atlas as part of a fixed-scope engagement inside the client's own infrastructure. The work starts from a written inventory of which clients, members and managed clusters use which TLS settings, so each change can be sequenced and tested before it reaches production.

How we scope

  • Agree in writing which MongoDB editions, versions and deployment types are in scope, including self-managed Enterprise, Community and Atlas clusters.
  • List every driver and application connection, with its language, driver version and TLS settings, since client support determines what can change.
  • Confirm which replica set and sharded cluster links use X.509 member authentication, and which rely on keyfile internal authentication.

How we build

  • Test net.tls.disabledProtocols, opensslCipherConfig and opensslCipherSuiteConfig changes on a staging replica set before touching production members.
  • Run TLS handshake tests from each driver version to confirm that clients still connect after cipher suite or certificate changes.
  • Validate certificate chains, CA files and revocation checking (OCSP or CRL) on every member and on the Atlas cluster configuration.

How we hand over

  • Deliver a written record of each TLS setting, its value, its version and the component it applies to, so the client's reviewers can check it.
  • Document the rollback steps for each member and each Atlas cluster setting, including the order in which replica set members are restarted.
  • Provide an inventory of certificate expiry dates, including Atlas-managed certificates that renew on a 90-day cycle.

How we support

  • Ongoing support and retests are available as a retainer, for example after MongoDB releases a new version or a driver upgrade is planned.
  • Retest connections after each MongoDB release, since release notes and TLS defaults can change between versions such as 8.3 and 9.0.
  • Confirm with the vendor, in the product documentation and in your own environment any setting the public documentation does not state.

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.