Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this example, the client attempts to access a protected resource. Because it has a client certificate configured, it advertises its willingness to renegotiate immediately.
During the TLS handshake, the client offers only cipher suites which are acceptable to it. From this list, the server selects the most preferred cipher suite. After the handshake concludes, HTTP/2 begins at the application layer.
Frame |
Description |
---|---|
PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n |
Connection preface. |
SETTINGS:
|
Client SETTINGS frame; leaves initial values unchanged, but sets TLS_RENEG_PERMITTED to support server-initiated renegotiation. |
HEADERS:
|
HEADERS frame containing request. As this is the only frame needed to convey the request, the END_STREAM and END_HEADERS flags are set. |
Server handles connection.
Frame |
Description |
---|---|
SETTINGS:
|
Server SETTINGS frame; leaves initial values unchanged, but sets TLS_RENEG_PERMITTED to support server-initiated renegotiation. |
SETTINGS:
|
Server acknowledgment of client SETTINGS frame. Acknowledgments contain no values. |
Because both sides have indicated support for server-initiated renegotiation, when processing the request for a protected resource, the server triggers the TLS layer to renegotiate, this time requesting a client certificate.
After renegotiation completes, the server responds with the protected resource if the client certificate verifies access.
Frame |
Description |
---|---|
HEADERS:
|
HEADERS frame containing response. The END_STREAM flag is not set, as the body follows. |
DATA:
|
Response body. As the final frame of the response, the END_STREAM flag is set. |
The request complete, the client terminates the connection after optionally sending a GOAWAY frame.
Frame |
Description |
---|---|
SETTINGS:
|
Client acknowledgment of server SETTINGS frame. Acknowledgments contain no values. |
GOAWAY:
|
Optional GOAWAY frame indicating that the client will make no further requests. |
The server notifies the TCP layer to close the connection, after optionally sending a GOAWAY frame itself.
Frame |
Description |
---|---|
GOAWAY:
|
Optional GOAWAY frame indicating that the server expects no further requests. |