What is a TLS HelloRetryRequest?

A HelloRetryRequest is the server message that asks a TLS client to retry its ClientHello with a different key share. Here is what it means, where it appears and what it changes in a post-quantum migration.

On this page

What is a HelloRetryRequest, and why does it appear in a TLS 1.3 handshake?

You have probably seen HelloRetryRequest in a packet capture, a vendor answer about post-quantum support, or an audit question asking whether a server handles hybrid key exchange. A HelloRetryRequest is a server message sent in response to a ClientHello when the server can find acceptable parameters but the ClientHello does not carry enough information to proceed. The message is defined in section 4.2.4 of RFC 9846, which updates the original TLS 1.3 specification in section 4.1.4 of RFC 8446. It uses the same format as ServerHello, so a reader working from a log has to look at its contents, not its shape, to tell the two apart.

Engineers reading handshake logs meet it most often when a client offers a key share the server does not accept. The server then asks the client to try again with a group it does support. Reviewers checking hybrid group support meet it for the same reason. If a client offers only a hybrid share, such as X25519MLKEM768, to a server that lacks that group, the server can answer with a HelloRetryRequest naming a mutually supported group. A capture showing a HelloRetryRequest therefore does not prove a failed handshake, but it does show that the first key share was not accepted.

The message is recognized by a fixed random value, which is the SHA-256 of the string "HelloRetryRequest". Its key_share extension carries a single selected_group, and the client must check that this group was in its supported_groups and was not already in its key_share. Before sending a second ClientHello, confirm in the vendor documentation or the server configuration which groups are enabled, and confirm that the server does not send a second HelloRetryRequest in the same connection, since the client must abort if one arrives. The sources listed here do not say how a given product orders its groups, so check that against the version you run.

Which names and identifiers refer to a HelloRetryRequest?

This table lists the names, section numbers, values and alerts that identify a HelloRetryRequest and its related extensions in RFC 8446, RFC 9846 and the IANA registries. Read the type column to separate the protocol message from the extensions and alerts it uses. The main takeaway is that the message is recognized by its fixed random value, not only by its name.

Name or identifierTypeWhere definedWhat it refers to
HelloRetryRequestProtocol messageRFC 8446 section 4.1.4; RFC 9846 section 4.2.4A server message sent in response to a ClientHello that lacks enough information to proceed, with the same format as ServerHello
Fixed random valueIdentifierRFC 8446The SHA-256 of the string "HelloRetryRequest", which the client uses to recognize the message
key_shareExtension (value 51)IANA TLS ExtensionType registry; RFC 9846In a HelloRetryRequest, holds a single selected_group that the server intends to negotiate
supported_groupsExtension (value 10)IANA TLS ExtensionType registry; RFC 9846Lists the groups the client supports, which the client checks the selected_group against
supported_versionsExtensionRFC 8446Must be included in the extensions of a HelloRetryRequest
illegal_parameterAlertRFC 8446Sent when the client finds the selected_group was not in its supported_groups or was already in its key_share, or the ServerHello group does not match
unexpected_messageAlertRFC 9846Sent by the client when a second HelloRetryRequest arrives in the same connection

Where practitioners meet a HelloRetryRequest

A HelloRetryRequest shows up in the same places a TLS 1.3 handshake does: packet captures, library defaults, vendor documentation, scanner output and the RFCs that define it. Each card below names one of those places and says what to check there when a post-quantum hybrid group is involved.

TLS 1.3 packet captures

In a capture, a HelloRetryRequest is a server message sent in reply to a ClientHello. It carries the same random value as a ServerHello, the SHA-256 of the string "HelloRetryRequest", which is how a reader recognizes it. Look for a key_share extension holding a single selected_group, then check that the client's next ClientHello includes a key share for that group. A second HelloRetryRequest in the same connection is a protocol error.

RFC 9846

Client and server library defaults

OpenSSL 3.5.0 was released on 8 April 2025, and its release notes say the default TLS keyshares offer X25519MLKEM768 and X25519. A client that offers only a hybrid share the server does not support can receive a HelloRetryRequest naming another group. Confirm the group list and key share defaults for the exact library version you run, because the defaults differ between versions and between products built on the same library.

OpenSSL 3.5 notes

Vendor documents on hybrid group support

Vendor documentation should state which hybrid groups the product supports, such as X25519MLKEM768, SecP256r1MLKEM768 or SecP384r1MLKEM1024, and whether it sends a HelloRetryRequest when a client offers an unsupported share. The sources do not publish a vendor-by-vendor list, so ask for it in writing. Read the answer against the product version in use, not against a general statement of PQC support.

Scanner and audit output

TLS scanners and audit tools may report a HelloRetryRequest as a separate step in the handshake, or record the group the server selected after one. Treat that output as evidence of what the server did in one test, not as a certification of the product. Ask the auditor or vendor which client offers were used in the test, since a HelloRetryRequest only appears when the offered shares do not match the server's preference.

The TLS 1.3 and hybrid key exchange RFCs

RFC 9846 defines the HelloRetryRequest in section 4.2.4 and obsoletes RFC 8446, which defined it in section 4.1.4. RFC 10024 defines the hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024, and RFC 9954 gives the general construction for hybrid key exchange. RFC 9954 does not address HelloRetryRequest for hybrid groups, so the handling of a retry for those groups must be checked in RFC 10024 and the implementation.

RFC 10024

How a server uses a HelloRetryRequest to pick a key share group

When a TLS 1.3 server cannot complete the handshake from the first ClientHello, it can send a HelloRetryRequest instead. The client's ClientHello carries one or more key shares, one for each group the client expects to use. If the server supports a group that both sides list in their supported parameters but was not sent a usable share for that group, it replies with a HelloRetryRequest. The key_share extension in that message holds a single selected_group value, which names the group the server intends to negotiate. The server does not send its own key share at this point, so the client has to supply one. The most common cause is an unsupported or missing key share group: the client offered shares only for groups the server does not accept, or left out the group the server prefers. Under RFC 8446, this is the incorrect DHE share case described in section 2.1.

On receiving a HelloRetryRequest, the client must check that selected_group appears in its own supported_groups extension and is not already present in its key_share extension. If either check fails, the client aborts the handshake with an illegal_parameter alert. If the checks pass, the client resends ClientHello with exactly one new key_share entry for the selected group. It must not add shares for other groups in that retry. A server that sends a second HelloRetryRequest in the same connection is in error, and the client must abort with an unexpected_message alert. Because the server answers the retry with a ServerHello, the group in that ServerHello must match the group named in the HelloRetryRequest. Any mismatch causes the client to abort with illegal_parameter. Engineers reviewing captures should confirm these three points: the selected group is in the client's supported list, only one new share was sent, and the ServerHello group matches.

Where the HelloRetryRequest sits in the handshake

The diagram starts with the client's ClientHello carrying a key_share entry for one group. If the server cannot complete the exchange with that group but supports another group in the client's supported_groups, it replies with a HelloRetryRequest whose key_share holds a single selected_group. The client checks that group, then resends ClientHello with one new key_share entry for it. The server's ServerHello must name the same group, or the client aborts with illegal_parameter. A second HelloRetryRequest in the same connection is an unexpected_message error, so the retry happens at most once.

The retry sequence, showing the group selected by the server must match in ServerHello.

Is the HelloRetryRequest standardized, and where is it defined now?

The HelloRetryRequest is standardized in the TLS protocol itself, not in a separate post-quantum document. RFC 8446, the original TLS 1.3 specification, was published in August 2018 as a Standards Track document and defined the message in section 4.1.4. That RFC is now obsoleted by RFC 9846, The Transport Layer Security (TLS) Protocol Version 1.3, a Standards Track document dated July 2026. RFC 9846 defines the message in section 4.2.4 and uses the same format as ServerHello. When you cite the definition in a vendor answer, a configuration review or an audit response, cite RFC 9846 as the current specification and note that RFC 8446 is the earlier text it replaces. Confirm section numbers against the version your products implement, because implementations may still reference RFC 8446.

Post-quantum hybrid groups add a second layer to this picture. RFC 10024, Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3, is a Standards Track document from August 2026 that defines the hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. RFC 9954, Hybrid Key Exchange in TLS 1.3, is an Informational document from July 2026 that gives the general construction for combining traditional and post-quantum key exchange, but it does not address HelloRetryRequest for hybrid groups. Do not treat RFC 9954 as the source for how a server should answer a hybrid share it does not support. For that behavior, check RFC 9846 and RFC 10024 together.

The standalone ML-KEM groups, MLKEM512, MLKEM768 and MLKEM1024, are defined in draft-ietf-tls-mlkem-11, an Informational Internet-Draft dated 17 September 2026 that is still in the RFC Editor queue. Because it is not yet published as an RFC, do not cite it as a final standard in a compliance or procurement response. Ask your vendors which draft version their TLS stack implements and whether they track its publication. When you review a server's HelloRetryRequest behavior, confirm it against the RFCs above, and check the IANA TLS Parameters registry for the current group values your deployment depends on.

What a HelloRetryRequest means for a post-quantum TLS migration

A HelloRetryRequest is how a TLS 1.3 server asks a client to try again with parameters the server accepts, and in a post-quantum migration it is the point where a hybrid key share can be rejected and the handshake gains a round trip. The steps below show how to find these messages in captures, check which groups a server answers with, account for the cost, and confirm what vendors and running builds actually do.

  1. Find HelloRetryRequest messages in captures

    Capture TLS handshakes from the servers you plan to upgrade, using a tool such as Wireshark or a packet capture on the client side, and filter for handshake messages from the server. A HelloRetryRequest is a ServerHello-format message whose random value equals the SHA-256 of the string "HelloRetryRequest", so most decoders label it for you, and you should confirm the label by checking that random value. Record which connections produced one and which did not. The step is done when you have a list of servers and client configurations that triggered a HelloRetryRequest, with the capture file and timestamp for each. The HelloRetryRequest is defined in section 4.1.4 of RFC 8446 and section 4.2.4 of RFC 9846, which are the right references when a reviewer asks where the message comes from.

  2. Check the groups the server answers with

    For each HelloRetryRequest, read the key_share extension, which carries a single selected_group. That value is the mutually supported group the server intends to negotiate. Compare it with the groups the client offered in supported_groups and key_share. Then check whether the client's first key_share was a hybrid share, such as X25519MLKEM768 (group value 4588 in the IANA TLS Supported Groups registry), and whether the server rejected it in favor of a classical group. The step is done when you can state, for each server, which group it selected and whether a hybrid share was offered first. Record the group names exactly as they appear in the capture, because the registry entries differ in whether they are recommended, and a reviewer will ask which name the server used.

  3. Confirm the extra round trip and larger shares

    A HelloRetryRequest adds a round trip to the handshake. The client must resend ClientHello with a new key_share entry for the selected group, and the server then answers with a ServerHello. Confirm this cost in your captures by measuring the time between the first ClientHello and the final server response, and comparing it with a handshake that completed without a HelloRetryRequest. Also confirm the size of the key share sent in the retry. The group definition in RFC 10024 gives 1216 bytes for X25519MLKEM768, so a client that sends the hybrid share on every connection carries that weight even when the server rejects it. The step is done when you have a measured difference for a representative connection and the share sizes read from the capture, with both numbers written next to the server they belong to. Treat the figures as measurements from your own environment, not as universal values.

  4. Ask vendors which groups their stack answers with

    Send each vendor of a TLS stack, load balancer, gateway or managed endpoint a written question asking which named groups the stack will select in a HelloRetryRequest, including whether it prefers hybrid groups such as X25519MLKEM768 and whether it offers standalone ML-KEM groups defined in draft-ietf-tls-mlkem. Ask for the answer in the form of a supported group list for the exact version you run. Vendors should answer from their own documentation, and the OpenSSL 3.5 release notes are one example of a vendor stating its default group list and key share offer, dated 8 April 2025. The step is done when each vendor has given a written answer naming the groups, or has stated that it does not publish that detail. Keep the answers in your inventory, because the answer is the basis for judging the client and server behavior you measured.

  5. Confirm correct handling of a second HelloRetryRequest

    RFC 9846 says that if a second HelloRetryRequest arrives in the same connection, the client must abort with an unexpected_message alert. Ask each vendor whether its client and server stacks follow this rule, and test it where you can by pointing a client at a server configured to send a retry more than once. The step is done when you have either a test result showing the alert on a second retry or a written vendor statement covering the behavior. Also confirm that the ServerHello group matches the group named in the HelloRetryRequest, because a mismatch makes the client abort with illegal_parameter under RFC 8446. A failure in either check points to an interoperability problem to resolve before cutover, not a detail to note and move on from.

  6. Confirm the version and build in production

    Record the exact TLS library name, version and build that run on each production endpoint, and compare them with the versions you tested and the versions your vendors described. Confirm the running build, not the version in the package list or deployment template, because a configuration can be updated while the process still runs older code. Check the library's group list on the running endpoint if the tooling allows it. The step is done when you have a table of endpoints with the verified version, build and default group behavior, and each row matches a captured handshake. If a row does not match, retest that endpoint before relying on the earlier results for it.

Terms readers mix up with HelloRetryRequest

A HelloRetryRequest is easy to confuse with the messages and choices around it, because it shares the ServerHello format and appears during the same key_share negotiation. The four cards below separate it from the nearby terms and set out what the sources do and do not say about each.

HelloRetryRequest versus ServerHello

A HelloRetryRequest uses the same format as a ServerHello, but the two mean different things. A ServerHello completes parameter selection, while a HelloRetryRequest tells the client that the server found acceptable parameters but the ClientHello did not carry enough information to proceed. The two are recognized by their random value: a HelloRetryRequest carries the SHA-256 of the string "HelloRetryRequest". When checking a capture, look at the random field before assuming a message is a completed ServerHello.

RFC 8446 text

HelloRetryRequest versus empty client_shares

A HelloRetryRequest is sent by the server after a ClientHello, while an empty client_shares list is sent by the client. A client may send an empty client_shares list to prompt the server to choose a group, and this costs an extra round trip. The client makes that choice, so a HelloRetryRequest is not the only route to a group selection. When reviewing a client configuration, check whether it sends key shares up front, since that decides whether the extra round trip occurs.

RFC 9846 text

TLS 1.3 wording in RFC 8446 and RFC 9846

The HelloRetryRequest is defined in section 4.1.4 of RFC 8446, the original TLS 1.3 specification from August 2018, and in section 4.2.4 of RFC 9846, which obsoletes it. Quoting one document when the other applies can produce a mismatched section reference in an audit answer. Name the document and section that your vendor or assessor cites, and confirm which one your implementation follows before relying on either.

RFC 9846 text

HelloRetryRequest is not proof of post-quantum

A HelloRetryRequest shows that the server and client are negotiating a group, but it does not show which group that is. The sources describe it as the server's selected_group, and the group could be classical or hybrid. Do not treat the presence of a HelloRetryRequest as evidence that a connection is post-quantum. Confirm the group from the selected_group value in the key_share extension, and check the group name against the IANA registry for the versions you run.

IANA TLS Parameters

Questions people search about HelloRetryRequest

What does HelloRetryRequest stand for, and is it an alert?

A HelloRetryRequest is not an alert. It is a server message sent in response to a ClientHello when the server can find parameters it accepts but the ClientHello does not carry enough information to continue. The name describes that role: the server asks the client to try again with different parameters. Per RFC 9846, it uses the same format as ServerHello, which is why engineers reading a capture often see it in the same position as a ServerHello. The server recognizes it because its random value is a fixed constant: the SHA-256 of the string "HelloRetryRequest". Alerts are a separate message type used to report errors or close a connection, so when reviewing logs, treat a HelloRetryRequest as a normal handshake step and an alert as a failure signal.

Is HelloRetryRequest the same as the TLS 1.2 handling?

The sources supplied for this page do not say that HelloRetryRequest is equivalent to any TLS 1.2 mechanism, so this page does not make that comparison. HelloRetryRequest is defined in TLS 1.3, in RFC 8446 section 4.1.4 and in RFC 9846 section 4.2.4. Engineers comparing handshake behavior across TLS versions should read the TLS 1.2 specification (RFC 5246) directly and confirm which messages, if any, correspond to HelloRetryRequest for their implementation. Vendor documentation for the TLS stack in use is the best place to check how it handles the case.

Is HelloRetryRequest standardized, and in which RFC?

Yes. HelloRetryRequest is part of the TLS 1.3 specification. The original definition is in RFC 8446, published in August 2018 as a Standards Track document. RFC 9846, dated July 2026, obsoletes RFC 8446 and defines HelloRetryRequest in section 4.2.4. For compliance evidence, cite RFC 9846 as the current specification and note that RFC 8446 is the version it replaces. Confirm with the implementation's documentation which RFC version it follows, since products may track either text during transition.

Can a server send a second HelloRetryRequest in one connection?

No. If a second HelloRetryRequest arrives in the same connection, the client must abort with an unexpected_message alert, according to RFC 9846. A client that has already received one HelloRetryRequest and resent its ClientHello should expect the server's next reply to be a ServerHello. Testing this behavior is a reasonable check for a TLS stack under review, because a non-compliant client could accept a second retry. Ask the vendor how its client and server handle repeated retries and confirm the behavior with a test handshake in your own environment.

What does HelloRetryRequest change for a post-quantum migration?

It matters most when a client offers a key share the server does not support. In a post-quantum migration, a client that offers only a hybrid share, such as X25519MLKEM768 defined in RFC 10024, can receive a HelloRetryRequest naming another group from its supported_groups list, such as a mutually supported one. The client then resends its ClientHello with a new key share for that group. Two effects follow for planning: the handshake takes an extra round trip, and key share sizes depend on the group chosen. As an illustration, the X25519MLKEM768 key share is 1216 bytes according to its group definition. Confirm in your own environment whether clients and servers in your fleet fall back this way, and measure the added latency where it matters.

What should I ask a vendor about HelloRetryRequest?

Ask which RFC version of TLS 1.3 the product follows, RFC 8446 or RFC 9846, and whether it handles HelloRetryRequest as specified. Ask how the server selects a group when it sends a HelloRetryRequest, and whether it prefers hybrid groups such as X25519MLKEM768 or falls back to classical groups. Ask whether the product rejects a second HelloRetryRequest in one connection with unexpected_message. Ask for the group list and default key share behavior in the version you run, and whether that default has changed in a recent release. Ask for a test handshake capture you can review, and confirm whether the vendor documents RFC 9954 hybrid guidance, which the sources say does not address HelloRetryRequest for hybrid groups.

How DeployOpen works on this

DeployOpen approaches HelloRetryRequest as a configuration and testing task inside your own environment, not an abstract protocol question. We start by reviewing which clients and servers offer which key share groups, then plan the handshake changes that a post-quantum upgrade will trigger.

How we scope

  • We inventory which TLS endpoints offer hybrid groups such as X25519MLKEM768 and which fall back to classical groups.
  • We confirm which clients send only a hybrid key share that a server cannot accept, since that case produces a HelloRetryRequest.
  • Scope, deliverables and timelines are agreed in writing before any work starts, and engagements are fixed-scope.

How we build

  • We configure supported_groups and key_share ordering on the TLS terminators you run, so retries are reduced where the server supports the offered group.
  • We test the retry path end to end, checking that the client resends ClientHello with one new key share for the selected group.
  • We check that a second HelloRetryRequest in the same connection is rejected, and that ServerHello matches the group named in the retry.

How we hand over

  • You receive documentation of the group configuration, the captures we used and the expected handshake sequence for each endpoint.
  • We record which clients still trigger a HelloRetryRequest, so your team can judge the extra round trip against your own latency targets.
  • Results are delivered as written findings that your security and compliance teams can review independently of DeployOpen.

How we support

  • Ongoing support, upgrades and continuous testing of TLS group configuration are available as retainers.
  • When a library or server release changes default groups, we retest the HelloRetryRequest paths on your upgraded components.
  • Confirm compatibility of any specific version you run against the RFCs and vendor documentation before relying on a retry behavior.

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.