What an unsupported named group error means in TLS

An unsupported named group error means the two ends of a TLS connection could not agree on a key exchange group. Your connection is not encrypted by a broken method, and the fix is usually a matching configuration on the client or server.

On this page

What the unsupported named group message means and whether it is urgent

A TLS connection has failed or stalled, and the error mentions an unsupported group or key share. In plain terms, the client and the server could not agree on a key exchange group, so the handshake stopped before any application data was sent. The connection did not fall back to an unprotected session, and nothing was transmitted in the clear. The message names a mismatch in what each side supports, not a broken cipher or a compromised certificate, so the fix is usually a configuration change on one side rather than an emergency rotation of keys.

The reason strings matter because they point at different hops. OpenSSL 3.5 reports no suitable key share when the client's offered key shares do not match what the server accepts, no shared groups when the two lists have no group in common, and no suitable groups when neither side has a usable group left after filtering. bad key share means a key share was present but malformed or unusable, unsupported elliptic curve names a curve the peer does not accept, and missing supported groups extension means the hello omitted the extension entirely. Each string tells you whether to look at the client's offer, the server's list, or the message that carried them.

Urgency depends on whether the failure is a mismatch you can reproduce or a stall that affects real users. A reproducible mismatch between a known client and a known server is a configuration task you can schedule, and it should be fixed before you enable hybrid key exchange more widely. A stall that appears only for some clients, after a server or middlebox change, deserves prompt attention, because it means traffic is being blocked for those users. Start by confirming the version on each side with openssl version -v, then check which group was actually negotiated with openssl s_client, which prints a Negotiated TLS1.3 group line, and compare it with the server's ssl_ecdh_curve setting in nginx or the SSLOpenSSLConfCmd directive in Apache. Confirm the exact defaults and group names for your build with the vendor's documentation, because the sources here do not settle what your product ships by default.

How to find which side offers which key exchange groups

This sequence establishes which OpenSSL version each end runs, which named groups each side can offer, and which group the handshake actually negotiated. The result is a clear comparison that shows where the group names disagree and which side needs a change.

  1. Record the OpenSSL version on each end

    Run openssl version -v on the client and on the server to print the current OpenSSL version, then run openssl version -a on each end to capture the full build information. Keep both outputs with the host name so you can compare them later. Note that the client and server may use different OpenSSL builds, or may be different libraries entirely, such as a language runtime or a load balancer's bundled TLS stack. If you cannot run these commands on the host because the component is a managed appliance, ask the vendor which TLS library and version it uses and record that instead.

  2. List the valid group names on each end

    On each end, run openssl list -tls1_3 -tls-groups and openssl list -tls1_2 -tls-groups to print the group names that version of OpenSSL accepts for TLS 1.3 and TLS 1.2. Compare the two lists between the client and the server. A group name that appears on one side and not the other is a likely cause of a no shared groups or no suitable groups error. Save both lists for each host so you can refer to them when you read the test output.

  3. Test the connection with a chosen group list

    From the client, run openssl s_client -connect with your server address and add -groups followed by a colon separated list of the names you want to offer, in order of preference. The first group in that list is also the key share the client sends in a TLS 1.3 ClientHello, so place the group you want to test first. Repeat the test with the group order changed, or with a single group, to see which one the server accepts. A -curves option works as a synonym for -groups.

  4. Read the negotiated group line

    In the openssl s_client output, find the line that begins with Negotiated TLS1.3 group. The value after the colon is the group the handshake actually used. If that line is absent or the handshake ends before it is printed, the server did not agree to any group offered, and the error message printed above it is the one to act on. Record the group name exactly as printed so you can match it to the list you saved in the previous step.

  5. Compare the peer temporary key line

    Find the Peer Temp Key: line in the same output. It shows the key the server sent during the handshake, which indicates the group the server used for its own key exchange. If the group in this line differs from the negotiated group, or if the line is missing when the negotiated group is present, record both values and check the server's configuration against the group list you tested. Save the full output for each test so the results can be compared across hosts.

  6. Check the group from application code

    For application code, use the TLS library's own accessor to read the negotiated group during the handshake instead of parsing log text. In OpenSSL, SSL_get0_group_name() returns the group name directly and is generally preferred over SSL_get_negotiated_group(), which returns a numeric identifier. In Go, read the key exchange used for the connection from the connection state's curve identifier. Log the value alongside the host and the OpenSSL or runtime version, then run the same check on a host where the connection works to confirm that the reported group differs between the two.

  7. Confirm the group list on the server

    On the server, review the group settings for the component that terminates TLS. In nginx this is the ssl_ecdh_curve directive, whose default auto uses the list built into OpenSSL. In Apache httpd, the SSLOpenSSLConfCmd directive passes SSL_CONF_cmd commands to OpenSSL, and its documentation does not show an example for groups, so confirm the exact name with your version of httpd. Compare the configured list with the group your test showed the server accepting. Repeat the openssl s_client test after each change to confirm the negotiated group now matches what you expect.

Who has to act when a server or client reports the error

An unsupported named group error comes from one side of the handshake, but the setting that fixes it may sit with a different team or vendor. Work out which side reported the error, then find the person who controls the group list on that side.

Server operators

If the server logs or returns the error, the server operator controls which groups it accepts. In nginx, the ssl_ecdh_curve directive sets the curve list (the default is auto, which uses the list built into OpenSSL). In Apache httpd, the SSLOpenSSLConfCmd directive passes commands such as Groups to OpenSSL. Check the list those directives produce, then confirm the OpenSSL version the server was built with.

nginx ssl docs

Client developers

If the client reports the error, or the client's own library offers a group the server cannot use, the developer controls the groups offered in the ClientHello. In OpenSSL, -groups (synonym -curves) sets the offered list, and the first group listed is also the key_share sent in TLSv1.3. In Go, CurvePreferences in tls.Config controls the same choice. Check the offered list before blaming the server.

Go crypto/tls docs

Command-line users

Anyone running openssl s_client or a similar tool chooses the groups by hand, so the flags they pass decide what is offered. Run openssl version -v to confirm the build, and openssl list -tls1_3 -tls-groups to list valid group names. A name the local build does not recognize will not be offered, so check spelling and case first, since group names are case-insensitive in OpenSSL 3.5 and later.

SSL_CONF_cmd page

Hosted service administrators

If you run a service through a hosted provider or appliance, you usually cannot edit ssl_ecdh_curve, SSLOpenSSLConfCmd or client group settings directly. The vendor or service administrator controls the TLS stack and its defaults. Ask them which OpenSSL or TLS library version the endpoint runs, which groups it accepts, and whether a setting exists to change the list. Record their answer so the request is specific.

OpenSSL 3.5 notes

Build and runtime owners

Defaults change with the library version. OpenSSL 3.5.0 changed the default group list to prefer hybrid groups and set the default key shares to X25519MLKEM768 and X25519, so an upgrade can change what a client offers without any config edit. Whoever owns the build or runtime should confirm the version in use and read the release notes for that version before changing server or client settings.

OpenSSL 3.5 notes

Which situations produce each group error and what each means

This table maps each situation that produces a group or key share error to what the error means and where to look first. Read each row by matching your setup to the situation, then check the named configuration on the side that applies. The main takeaway is that most of these errors reflect a mismatch in which groups the two sides support or offer, not a fault in the handshake itself.

SituationWhat it meansWhere to look first
Client offers only hybrid groups the server lacksThe client's offered groups, such as X25519MLKEM768, have no overlap with what the server supports, so the server reports no shared groups.Compare the client's offered groups with the server's supported list, and confirm the server's OpenSSL version includes the hybrid group names.
Server has a restricted ssl_ecdh_curve list with no overlapThe nginx ssl_ecdh_curve directive is set to a list that excludes every group the client offers, so no shared group exists.Check the ssl_ecdh_curve value in nginx, and compare it with the groups the client sends. The default value is auto.
Client default key share is not in the server listThe first group the client sends as its key share is not in the server's list, so the server cannot use that key share and reports an error about the key share.Check which group the client uses first, since in OpenSSL the first group in -groups is also the key share. Use openssl s_client -groups to test a specific group.
DEFAULT keyword misconfiguration on the serverA server configuration that uses the DEFAULT keyword can lose the key agreement group tuple structure, which OpenSSL 3.5.6 fixed under CVE-2026-2673.Confirm your OpenSSL version with openssl version -v, and review any DEFAULT entries in the server's group configuration.
Runtime such as Go disables ML-KEM hybrids with GODEBUG=tlsmlkem=0Setting GODEBUG=tlsmlkem=0 turns off the ML-KEM hybrid groups in Go's crypto/tls, so a Go client or server no longer offers them and may fail to find a shared group.Check the process environment for GODEBUG, and inspect ConnectionState.CurveID to see which key exchange the connection actually used.

What to do by role or environment

If you run the server that terminates TLS, the error usually means the server's configured group list does not overlap with what the client offers. For nginx, check the ssl_ecdh_curve directive in the http or server context. Its default is auto, which uses the list built into OpenSSL, so an explicit list you set years ago may now exclude the hybrid group your clients expect. For Apache httpd, check whether SSLOpenSSLConfCmd passes a Groups command, since the Apache documentation does not show an example using it. Then confirm the OpenSSL version the server actually loads, because the default list changed in OpenSSL 3.5.0.

  • Read the server's current group setting: Look for ssl_ecdh_curve in your nginx configuration, and for any Groups or Curves value passed through SSLOpenSSLConfCmd in Apache.
  • Check the OpenSSL version in use: Run openssl version -v on the host, and check the version the web server binary links against, which can differ from the system openssl command.
  • Remember that OpenSSL 3.5.0 changed defaults: It added hybrid groups to the default list and changed the default key shares, so an unchanged configuration can behave differently after an upgrade.
  • Watch for a hardcoded list: An explicit list without the hybrid group will not match clients that offer only that group.
  • Keep the list minimal: Do not remove groups from the list without first confirming which clients depend on them, since a shorter list can exclude clients that still need classical groups.

After any change, reload the server and confirm the connection with the client tests described in the other tabs.

Decision path from error message to fix

The path starts at the handshake error in the client or server log, which names a group or key share that could not be agreed. From there, check whether both ends share at least one group. If they do not, check the OpenSSL version on each side with openssl version -v, then compare the groups the client offers with openssl s_client -groups against the server's ssl_ecdh_curve or Groups setting. Once you know which side lacks a group, apply the fix on that side and confirm with openssl s_client that a group is negotiated.

Steps from the error message to a confirmed shared group.

What can break when people react to the error

An unsupported named group error usually points to a mismatch between what the client offers and what the server or runtime accepts. Teams often respond with fast changes that remove the hybrid group from one side, which can hide the symptom while leaving a different connection or client broken.

Older clients that cannot negotiate hybrid groups

Some older clients do not know the hybrid groups, such as X25519MLKEM768, and cannot complete a handshake when a server only offers them. The failure may appear on a subset of devices, which makes it look random. Before changing the server, list the client versions and TLS libraries in use, then check which named groups each one supports. Confirm the client's group list with openssl s_client -groups or the vendor's documentation before assuming the server is at fault.

OpenSSL 3.5 notes

Automation pinned to a fixed groups list

Scripts, CI jobs and health checks that set -groups or Groups to a fixed list keep offering the same groups after the library's defaults change. When the pinned list no longer matches the server, the job fails even though the server is healthy. Search your repositories and configuration management for -groups, -curves, Groups and Curves before editing any service. Record each pinned value and the owner who set it, so the change is made where the list lives.

SSL_CONF_cmd reference

Restricted algorithms removing the shared group

A server configuration limited to a narrow set of algorithms for compliance can leave no group in common with a client that offers only hybrid groups. The handshake then fails with a no shared groups error. Compare the server's ssl_ecdh_curve or SSLOpenSSLConfCmd settings with the client's offered groups before adding groups. Confirm with your security team whether a broader list is permitted under your policy, since the choice affects compliance evidence.

nginx ssl_ecdh_curve docs

Disabling hybrid groups without a plan

Setting GODEBUG=tlsmlkem=0 or removing a hybrid group from a list stops the immediate error but also removes post-quantum key agreement for every connection that process handles. Teams often apply this globally to restore service, then forget to revert it. Before changing either setting, identify the affected services, record the reason for the change, and set an owner and review date. Check the connection's group with ConnectionState.CurveID or openssl s_client so you can confirm what was negotiated before and after.

Go crypto/tls docs

Questions people ask after seeing an unsupported named group error

Is the connection still encrypted when this error appears?

No data is exchanged once the error appears, because the handshake failed before the session keys were agreed. The client and server could not find a key exchange group they both support, so the TLS session never completed. Nothing sent after that point is protected by that connection, and the application never receives a usable session. The practical result is a failed connection, not a weakened one, which is why the error tends to surface as a refused request or a dropped session rather than a silent downgrade. Check the client log to confirm the handshake stopped at the key share step.

Is an unsupported named group error urgent to fix?

It is urgent in the sense that the affected connection is blocked, but it is a configuration mismatch to resolve, not a broken cipher or a sign of an attack. The fix is usually to align the groups the client offers with the groups the server accepts. Prioritize it by how many services depend on the failing path and whether a fallback exists. Treat repeated occurrences across many clients as a rollout issue to diagnose rather than a single flaky connection.

Can I silence or ignore this error instead of fixing it?

Silencing or ignoring it is not advisable, because the error means the handshake cannot finish, so the connection stays blocked regardless of what the logs say. Suppressing the message hides the failure from the people who need to act on it. The useful response is to identify which group the peer rejected and either add a group both sides support or correct the peer's configuration. Suppression only makes sense after you have confirmed that the failing traffic is no longer needed.

Why does this error appear now when it did not before?

A common cause is the change in default groups in OpenSSL 3.5. OpenSSL 3.5.0 changed the default TLS supported groups list to include and prefer hybrid post-quantum KEM groups, removed some practically unused groups from it, and changed the default key shares to offer X25519MLKEM768 and X25519. A service built against an older default may now receive a ClientHello it cannot satisfy, or a client upgraded to OpenSSL 3.5 may offer groups an older server does not accept. Run openssl version -v on the client and server to confirm which version is in use before changing anything.

What should I do if I cannot upgrade the peer right away?

Configure the groups explicitly so the client offers only groups the peer supports. In OpenSSL, the Groups configuration command takes a colon separated list in order of preference, and openssl s_client -groups <list> sets the same list for a test. A list entry prefixed with ? is ignored if the implementation lacks that group, which lets one configuration work across mixed versions. Use openssl list -tls1_3 -tls-groups to confirm valid group names. Turning hybrid key exchange off entirely is a separate decision with its own tradeoffs, covered in the disable topic for when a temporary switch-off is defensible.

How do I find out which group the connection actually negotiated?

Run openssl s_client against the server and read the line that reports the negotiated TLS 1.3 group, along with the peer temporary key line. In OpenSSL 3.5, the client prints the negotiated group name from the connection state, which tells you whether the hybrid group was used or a fallback group was chosen. For application code, check the negotiated group through the library's connection state, for example the curve ID reported by the Go ConnectionState. Comparing the offered list against the negotiated group shows exactly where the two sides diverged.

Should I bring in outside help to resolve this?

Outside help is worth considering when the error affects production traffic across many clients, when the peer is a managed service or vendor appliance you cannot configure directly, or when the fix requires changes to firewalls or load balancers that your team does not control. An implementation partner can map which hops in the path are involved and plan the configuration change with a rollback. Ask for a written scope that names the systems covered, the testing steps and what is delivered before work starts. Pricing depends on the scope and is quoted after that scope is agreed.

When to get outside help with a group mismatch

Most unsupported named group errors can be fixed by one team on one server, once the failing side is identified and its supported groups are checked with the commands above. Outside help becomes worth considering when the same error appears across many hosts that run different TLS libraries, because each library may list groups, handle the DEFAULT keyword, or report failures in different ways. Checking one OpenSSL build does not tell you how a Go service, an nginx front end or a Java application behaves, so the inventory of hosts and their libraries is the first place where a planned approach pays off. A fixed-scope engagement can cover that inventory, the set of configuration changes, and the retest of each affected hop.

Some servers cannot be changed at all. Older servers may run a TLS library that does not offer the groups a client expects, and a vendor may not offer an upgrade path. Appliances and managed services are harder still, because you may have no access to the group configuration, only a control panel or a support ticket. In those cases the decision is not technical alone. You may need to isolate the system, place a supported terminating component in front of it, or ask the vendor, in writing, which groups it supports and when it will change. Be clear in the request whether you need a configuration change, a documented limitation, or a dated commitment from the vendor, because each leads to a different plan.

Regulated environments need more than a working connection. Assessors may ask for evidence of the configured groups, the change record, and the test results before and after each change. DeployOpen plans, upgrades and configures the components involved, and prepares the configuration evidence and test records that your compliance team can review. DeployOpen does not issue audit reports, attestations or certifications, so the assessment itself stays with your independent auditor or certification body. Ask any provider to state in writing which artifacts it will deliver and which decisions remain yours.

How DeployOpen works on this

DeployOpen approaches unsupported named group errors as a configuration problem across the whole path between client and server. We start by collecting the group lists each hop offers and the errors each one returns, then set the group order on the systems you run, test the result from both ends, and document what changed so your team can repeat the check.

How we scope

  • We inventory every TLS endpoint that returns a no suitable key share or no shared groups error.
  • We record the OpenSSL version, the group list and the key share order on each client and server in scope.
  • The written scope names which servers, load balancers and client images are covered and which are excluded.
  • Engagements are fixed-scope, so the deliverables and the systems to be changed are agreed in writing before work starts.

How we build

  • We set the Groups or ssl_ecdh_curve order on your servers so the intended hybrid group is offered and negotiated.
  • We confirm the negotiated group with openssl s_client and the group name reported by SSL_get0_group_name in your own tests.
  • We check that DEFAULT and predicted key share settings do not drop a group your older clients still need.

How we hand over

  • You receive a written record of each configuration change, the file it touched and the command that confirms it.
  • The handover lists the group order, the OpenSSL version and the test results for each endpoint in scope.
  • We document the rollback steps for each change so your operators can revert a single hop without guessing.

How we support

  • Ongoing support and upgrades are available as a retainer, including rechecking groups after an OpenSSL update.
  • A retainer can include retesting when OpenSSL releases change the default supported groups list.
  • Before any retainer starts, confirm with DeployOpen which endpoints, upgrade windows and escalation contacts it covers.

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.