# openssl s_client explainer

> Paste an openssl s_client command, what it printed, or both: every option and every block of the output explained against the manual of OpenSSL 3.5, the long-term-support release, the defaults that apply when an option is missing, and the findings that matter, from a failed or unenforced verification to a host name nobody checked and a chain missing its intermediate. Read entirely in your browser; nothing connects anywhere.

- Tool: https://ronutz.com/en/tools/openssl-s-client-explainer
- Family: TLS & transport

---

## What it does

Paste an `openssl s_client` command line, the text it printed, or both, and the tool explains them. Every option is read against the manual pages of OpenSSL 3.5, the long-term-support release (supported until 8 April 2030), the defaults that apply because an option is missing are spelled out, every block of the output is recognized and explained, and the findings worth acting on are listed first, most serious at the top. The command can go in its own box, or on the first line of the output box exactly as a terminal shows it; the tool separates the two. It reads text only: nothing is connected to, resolved, sent or run.

## The command line

Each option is shown in its group (target, server name, verification, trust store, protocol versions, cipher suites and groups, what s_client prints, sessions, client certificate, STARTTLS and ALPN, OCSP stapling, input handling, DANE, PSK, providers) with what it does. Options are read the way OpenSSL's own option parser reads them: `-name` and `--name` are the same option, `--name=value` works, `--` ends the options, and one target word may follow them. An option that is not on the 3.5 page, an option missing its value, and a flag given a value are flagged, since s_client stops with a usage error on each. `-ocsp_check_leaf` and `-ocsp_check_all` arrived in OpenSSL 3.6: the tool explains them, marks them "Not in OpenSSL 3.5", and warns that a 3.5 openssl stops on them.

The defaults are where most surprises live, so the tool states the ones in force:

- **Where it connects.** With no `-connect` and no target word, s_client connects to the local host on port 4433. A `-connect` value with no port keeps that 4433: `openssl s_client -connect example.com` does not talk to port 443. BIO_parse_hostserv(3) says a host given alone leaves the service untouched, and s_client starts from 4433.
- **The name sent as SNI.** Since OpenSSL 1.1.1, without `-servername` the `-connect` host is sent as Server Name Indication when it has the form of a DNS name, nothing is sent when it is an IP address (RFC 6066 does not allow IP literals there), and "localhost" is sent when there is no `-connect` at all. `-servername` sends whatever it is given; `-noservername` sends nothing.
- **Verification never stops the handshake.** The server certificate is always checked and the result printed, but unless `-verify_return_error` is given the handshake carries on whatever the result: the page warns that s_client accepts any chain and that a real application doing this would be open to a man-in-the-middle. `-verify` turns verification on with a depth limit, and still does not abort.
- **No host name is checked.** `-servername` only chooses the SNI. s_client compares the certificate with a name only when `-verify_hostname`, `-verify_ip`, `-verify_email` or DANE asks for it; without one of them, "Verify return code: 0 (ok)" says nothing about whether the certificate belongs to the site.
- **The trust store.** Without `-CAfile`, `-CApath` or `-CAstore`, the default store of that openssl build decides. OpenSSL ships no trust anchors of its own; Linux distributions usually point it at the system store, which is why the same command can verify on one machine and fail on another.
- **Protocol versions.** By default the client offers every version it supports. `-tls1_2` and its siblings allow one version only and cannot be combined with the `-no_*` options, which SSL_CONF_cmd(3) marks deprecated in favour of `-min_protocol` and `-max_protocol`. TLS 1.0 and 1.1 are deprecated (RFC 8996) and refused from security level 1 up, so forcing them also takes a cipher string with `@SECLEVEL=0`, which permits everything.
- **Cipher suites and groups.** `-cipher` sets the TLS 1.2-and-below list only; TLS 1.3 suites are set with `-ciphersuites`. The tool flags each when the version options make it useless. Without `-groups`, OpenSSL 3.5 uses its built-in DEFAULT list, which starts with the hybrid post-quantum X25519MLKEM768 and sends two key shares in the TLS 1.3 ClientHello, X25519MLKEM768 and X25519 (SSL_CTX_set1_groups_list(3), and the list itself in `ssl/t1_lib.c`).

The shell around the command is read too: `echo |` or `</dev/null` in front of s_client end its input at once, and the page notes that a non-interactive run may then close too early, especially with TLS 1.3; a pipe into `openssl x509` is named. Secrets on the command line are flagged: `-keylogfile` (a key log Wireshark can decrypt with), a `pass:` password visible to `ps`, and `-proxy_user` (Basic authentication in the clear to the proxy).

## The output, block by block

The output is read line by line, and every line or block is shown with its line numbers and what it means. What s_client prints is not described in the manual pages, so the layout was read from OpenSSL's own source at the tag `openssl-3.5.9`. Lines that only OpenSSL 3.0 or 3.6 print are read too, from the source at `openssl-3.0.13` and `openssl-3.6.5`, so output from those releases is explained as well:

- `Connecting to 127.0.0.1`: OpenSSL 3.5 prints the address it connected to on standard error as soon as the TCP connection is open (3.0 printed nothing there);
- the `depth=N` / `verify error:num=N:text` / `verify return:1` lines of the verification callback (depth 0 is the server's certificate; OpenSSL walks from the root down; `verify return:1` is s_client choosing to go on). OpenSSL 3.5 writes names as `C=BR, O=Example Lab, CN=www.example.test`; 3.0 wrote `C = BR, O = Example Lab, ...`;
- `CONNECTED(00000003)`, which only says the TCP connection is open (the number is the socket's file descriptor);
- `Certificate chain`, the certificates as the server sent them with `s:` subject, `i:` issuer, `a:` key and signature algorithm and `v:` validity; the page says it is not a verified chain. In 3.5 the key reads `a:PKEY: RSA, 2048 (bit); sigalg: sha256WithRSAEncryption`, or `EC, (prime256v1)` for an elliptic-curve key; 3.0 printed `rsaEncryption` and `RSA-SHA256`;
- `Server certificate` with its PEM (every certificate's PEM with `-showcerts`) and the `subject=` and `issuer=` lines;
- the client certificate request, if any, `Peer signing digest` and `Peer signature type`, which OpenSSL 3.5 gives as the IANA signature scheme name, such as `rsa_pss_rsae_sha256` (3.0 printed `RSA-PSS`); then the server's ephemeral key: `Peer Temp Key` in 3.5, or `Negotiated TLS1.3 group` when TLS 1.3 has no temporary key object to show, as with the hybrid post-quantum group X25519MLKEM768 that two OpenSSL 3.5 peers negotiate by default (3.0 printed `Server Temp Key`);
- `SSL handshake has read N bytes and written M bytes` (0 bytes read means the server sent nothing back);
- `Verification: OK` or `Verification error: text`, and `Verified peername` when a host name was checked;
- `New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384` (or `Reused` for a resumed session). The version on this line is the version that first defined the cipher (SSL_CIPHER_get_version), not necessarily the version negotiated: a TLS 1.1 connection prints `New, TLSv1.0, Cipher is ECDHE-RSA-AES256-SHA`. The negotiated version is on the `Protocol:` line OpenSSL 3.5 prints next, and in the SSL-Session block;
- `Server public key is N bit`, the renegotiation line (`Secure Renegotiation IS supported` up to TLS 1.2; under TLS 1.3, which has no renegotiation, 3.5 prints "This TLS version forbids renegotiation." where 3.0 printed `IS NOT supported`), compression, ALPN, early data;
- `Verify return code: N (text)`, the final verification result, with its meaning;
- the `SSL-Session` block, field by field. In TLS 1.2 it comes once, after the handshake; in TLS 1.3 it comes once per `Post-Handshake New Session Ticket arrived:`, because the server sends its tickets after the handshake (RFC 9846, section 4.7.1). `Master-Key` (TLS 1.2) and `Resumption PSK` (TLS 1.3) are secrets of the session;
- with `-status`, the OCSP line: `OCSP response: no response sent` (OpenSSL 3.5 and 3.0; 3.6 changed it to `no OCSP response received`, or `OCSP responses: no responses sent` under TLS 1.3), or the stapled response printed between two lines of `=` signs, from which the response status, Cert Status and the This Update / Next Update window are read;
- the `-brief` summary, the `-state` steps (`SSL_connect:...` and alerts), the `-msg` messages with their hex bytes, `-debug` reads and writes, `-tlsextdebug` extensions, the raw public key lines of RFC 7250, and OpenSSL error-queue lines, read in the format ERR_print_errors(3) documents (code, library, function, reason, file and line).

Anything else, such as an HTTP response the server sent after the handshake, is shown as data and never dropped.

## Verify return codes

The number in `verify error:num=N` and `Verify return code: N` is an X509_V_ERR code. openssl-verify(1) points to X509_STORE_CTX_get_error(3) for the list and to the header `<openssl/x509_vfy.h>` for the numbers. The tool carries the 96 codes of OpenSSL 3.5.9 (0 to 95) with their constant, the exact text printed and a plain reading, and also the six codes OpenSSL 3.6 added (96 to 101, five of them about OCSP), marked as 3.6 only. The text in the parentheses comes from `crypto/x509/x509_txt.c`: for codes 0 to 94 it is the same in 3.0.13 and 3.5.9, code 95 (a raw public key with nothing configured to trust it) does not exist in 3.0.13, and 3.6 extends code 9 to "certificate is not yet valid or the system clock is incorrect". The ones seen most often: 0 ok, 10 expired, 18 a self-signed server certificate, 19 a self-signed root the client does not trust at the top of the chain, 20 an issuer found neither in what the server sent nor in the trust store, 21 a single certificate that cannot be verified, and 62 hostname mismatch.

## Findings

The findings put the reading together. The most frequent: verification failed (with the code's meaning) and the handshake went on anyway; a missing intermediate, worked out from error 20 or 21 and the chain the server sent (the last certificate sent names an issuer that was never sent); an untrusted root, a self-signed certificate, an expired or not yet valid one, a name mismatch; verification that passed without any host name check; a handshake that failed or read nothing; TLS 1.0 or 1.1 negotiated; the cipher-line version trap; NULL, RC4, export, DES, 3DES or anonymous suites, RSA key transport, finite-field DHE and CBC suites in TLS 1.2 (RFC 9325); a SHA-1 or MD5 signature in TLS 1.2 (RFC 9155); no secure renegotiation or no extended master secret in TLS 1.2 (RFC 9325, section 3.5); a chain out of order or carrying its own root (RFC 9846, section 4.5.1); OCSP not stapled, good, revoked or unknown (RFC 6960); an option OpenSSL 3.5 does not have; and Master-Key or Resumption PSK values to blank out before the output is shared.

## OpenSSL versions

The tool is based on OpenSSL 3.5 because it is the long-term-support release: OpenSSL's release strategy, read on 27 October 2026, gives 3.5 support until 2030-04-08, 3.6 until 2026-11-01 and 4.0 until 2027-05-14, and lists 3.0 as no longer supported; the Downloads page gives 3.5.9, released on 29 September 2026, as the current 3.5 release. Where 3.0 or 3.6 prints a line differently, the tool reads it too and says which release prints it. OpenSSL 4.1.0 was released on 23 October 2026; the 4.1 page removes `-engine` (removed in 4.0), no longer lists `-ssl3`, and makes `-quiet` imply `-verify_quiet`. The tool notes the first two when they appear in a command.

## Examples

The Example button loads a capture in the OpenSSL 3.5 layout: a server that sends its certificate without the intermediate, with the client trusting the root through `-CAfile`. s_client prints error 20 then 21 at depth 0, finishes the handshake anyway, and ends with "Verify return code: 21 (unable to verify the first certificate)".

The golden vectors are nineteen captures against local `openssl s_server` instances and a throwaway test CA: TLS 1.3 with a full chain, TLS 1.2 forced with ALPN h2, TLS 1.1 at security level 0, an unknown CA whose server also sends its root, a self-signed certificate, `-verify_return_error` aborting the handshake, `-showcerts`, `-brief`, `-status` with and without a stapled response, a host name mismatch and a match, an expired certificate (through `-attime`), `-state`, `-msg`, and `-reconnect` in both layouts. Each is a real run made on 27 October 2026 with OpenSSL 3.5.9, built from the official source release after checking its SHA-256 and signature, on both ends of the connection. Two 3.5.9 peers negotiate the hybrid group X25519MLKEM768 under TLS 1.3, so those captures print `Negotiated TLS1.3 group: X25519MLKEM768` where the TLS 1.2 ones print `Peer Temp Key: X25519, 253 bits`, and the `-msg` capture shows the ClientHello carrying that group's key share. Short line-format vectors cover the lines no capture holds, such as the EC `a:PKEY` form, the 3.0 layout and the OCSP lines only 3.6 prints, and twenty-six command lines written for the tests pin the rules of the command reader. Nine share vectors pin the copy a Share results link carries, byte for byte: the Example's two Resumption PSK values, a TLS 1.2 Master-Key, the six of a `-reconnect` run, the four command-line secrets, the sources that stay, the `--opt=value` and continued forms, a command at the top of the output box, and another command's pass phrase; for each, the receiving page reads the same findings, less only the one about printed secrets.

## Related tools and reading

- **The certificates.** Paste the PEM blocks that `-showcerts` prints into the [certificate chain builder](https://ronutz.com/en/tools/cert-chain-builder), which puts them in order and names a missing intermediate, or one certificate into the [X.509 certificate decoder](https://ronutz.com/en/tools/x509) to read its fields and extensions. The page links both beside the chain it shows.
- **The cipher suite.** The [cipher suite decoder](https://ronutz.com/en/tools/cipher) splits the suite on the `Cipher is` line into its key exchange, authentication, cipher and MAC, with its IANA name and recommendation status.
- **A BIG-IP on the other end.** When the server is a BIG-IP virtual server, its client-ssl profile sets the protocol versions and cipher suites s_client meets: the [F5 SSL profile explainer](https://ronutz.com/en/tools/f5-ssl-profile-explainer) reads the profile and the [F5 cipher-string explainer](https://ronutz.com/en/tools/f5-cipher-string-expander) its cipher string.
- **Sharing a capture.** Blank out the session secrets before a capture goes on a slide or in a ticket. The secrets check of [code to image](https://ronutz.com/en/tools/code-to-image) has no rule for them: it leaves a TLS 1.3 `Resumption PSK:` line as printed, and masks a TLS 1.2 `Master-Key:` line only because the line has the shape of a YAML key with a secret-looking name.
- **Reading.** [Reading openssl s_client](https://ronutz.com/en/learn/reading-openssl-s-client-output) walks through what the command checks and what the output proves, and [Certificate chains](https://ronutz.com/en/learn/certificate-chains-order-anchors-and-what-breaks-them) explains the chain behind errors 20 and 21.

## Share results

Under the findings, **Share results** builds a link to this page, only when you press it, that carries both boxes after the `#` with every secret value replaced by `[redacted]`, never as pasted: each `Master-Key` and `Resumption PSK` of the session blocks, a pass phrase given as `pass:` to `-pass` or `-proxy_pass` (or in that form anywhere else in the text), the key of `-psk` and the password of `-srppass`. Its popover says first what the link carries and how many values were replaced, then offers Copy link and, where the browser has one, its share sheet; the page's address is not changed.

A full s_client output nearly always holds one of the two session secrets, which is why the link carries a copy rather than the paste. Everything else stays: host names, the chain, the `env:`, `file:`, `fd:` and `stdin` sources of a pass phrase ([openssl-passphrase-options(1)](https://docs.openssl.org/3.5/man1/openssl-passphrase-options/), read 2026-10-27, names only the `pass:` form as the password itself), and the ticket bytes, which cannot resume a session without its secret ([RFC 9846](https://www.rfc-editor.org/rfc/rfc9846), sections 4.7.1 and 4.3.11.2, read 2026-10-27). [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986) (section 3.5, read 2026-10-27) has the fragment "separated from the rest of the URI prior to a dereference", so the copy is not sent to the server when the link is opened; it stays in the address bar and the history of whoever opens it, and anyone who has the link can read it.

- **How long.** At most 16,384 characters in all, the bound the site uses for every value after the `#`; a longer share gets no link, and the popover says how long it is.
- **Opening a link.** Both boxes fill as a paste would (an absent one is emptied) and the page explains them; nothing is connected to, as always. The share vectors check that the receiving page reads the same handshake: the same findings, less only the one about printed secrets. The values then leave the page's address at once, without a request, so a reload or the page's own Share button carries nothing.
- **Links from the serial console.** A report handed over as `#input=` still fills the output box exactly as before; Share results uses names of its own (`command`, `output`), so the two never mix.

## API

The same engine answers the `/api/v1/openssl-s-client-explainer` operation of the site's HTTP API, written out in the OpenAPI contract on the [API page](https://ronutz.com/en/api), which also says whether this site serves the API. Blank out Master-Key and Resumption PSK values before sending output anywhere, this API included.

- **Request.** Text: the command line, the output, or the command line followed by the output.
- **Response.** `command` (null when none was found): `found`, `program`, `options` (each with `typed`, `name`, `value`, `known`, `group`, `text`, `dflt`, `since`, `deprecated`, `notIn35`, `problem`), `target` (`raw`, `from`, `host`, `port`, `portDefaulted`, `hostIsIp`), `sni` (`mode`, `value`, `text`), `stdinClosed`, `inputFrom`, `outputTo`, `absent` and `findings`. `output` (null when there was none): `recognised`, `layout` (`full`, `brief` or `unknown`), `lines`, `truncated`, `items` (each with `kind`, `start`, `end`, `text`, `fields`, `connection`, `explain` and `detail`), `connections` (one per handshake: protocol, cipher, verification, chain, keys, ALPN, OCSP, tickets, secrets printed, error reasons) and `findings`. Then `findings` (both lists together, most serious first) and `splitFromOutput`. Every explanation is given as `{"en": ..., "pt": ...}`; every finding has a stable `id`, a `severity` (`high`, `warn` or `info`) and the `source` it rests on.
- **Errors.** Text that is neither a command nor s_client output is not an HTTP error: the findings say `noCommandFound` or `notSClientOutput`.

## Sources

- [OpenSSL Library, release strategy](https://openssl-library.org/policies/releasestrat/) (read 2026-10-27): 3.5 supported until 2030-04-08 (LTS), 3.6 until 2026-11-01, 4.0 until 2027-05-14, 3.0 no longer supported
- [OpenSSL Library, Downloads](https://openssl-library.org/source/) (read 2026-10-27): 3.5.9 of 29 September 2026, the current 3.5 release, and 4.1.0 of 23 October 2026
- [OpenSSL 3.5, openssl-s_client(1)](https://docs.openssl.org/3.5/man1/openssl-s_client/) (read 2026-10-27): every option, the SNI default, -showcerts, -verify and -verify_return_error, -starttls keywords, non-interactive use, HISTORY
- [OpenSSL 3.5, openssl-passphrase-options(1)](https://docs.openssl.org/3.5/man1/openssl-passphrase-options/) (read 2026-10-27): the `pass:` form, "The actual password is password", which a Share results link replaces, and the `env:`, `file:`, `fd:` and `stdin` sources, which it keeps
- [OpenSSL 3.6, openssl-s_client(1)](https://docs.openssl.org/3.6/man1/openssl-s_client/) (read 2026-10-27): -ocsp_check_leaf and -ocsp_check_all, added in 3.6
- [OpenSSL 3.0, openssl-s_client(1)](https://docs.openssl.org/3.0/man1/openssl-s_client/) (read 2026-10-27): the release whose layout is still read
- [OpenSSL 4.1, openssl-s_client(1)](https://docs.openssl.org/4.1/man1/openssl-s_client/) (read 2026-10-27): the changes after 3.x
- [OpenSSL 3.5, openssl-verify(1)](https://docs.openssl.org/3.5/man1/openssl-verify/) (read 2026-10-27): DIAGNOSTICS, the error number and depth
- [OpenSSL 3.5, X509_STORE_CTX_get_error(3)](https://docs.openssl.org/3.5/man3/X509_STORE_CTX_get_error/) (read 2026-10-27): the list of verification codes
- [OpenSSL 3.5, openssl-verification-options(1)](https://docs.openssl.org/3.5/man1/openssl-verification-options/) (read 2026-10-27): trust store and verification options
- [OpenSSL 3.5, SSL_CONF_cmd(3)](https://docs.openssl.org/3.5/man3/SSL_CONF_cmd/) (read 2026-10-27): -cipher, -ciphersuites, -groups, -sigalgs, -min_protocol, the deprecated -no_* options
- [OpenSSL 3.5, SSL_CTX_set1_groups_list(3)](https://docs.openssl.org/3.5/man3/SSL_CTX_set1_curves/) (read 2026-10-27): key shares and the DEFAULT group list
- [OpenSSL 3.5, openssl(1)](https://docs.openssl.org/3.5/man1/openssl/) (read 2026-10-27): TLS Version Options
- [OpenSSL 3.5, SSL_CTX_set_verify(3)](https://docs.openssl.org/3.5/man3/SSL_CTX_set_verify/) (read 2026-10-27): client verification with SSL_VERIFY_NONE
- [OpenSSL 3.5, SSL_CIPHER_get_name(3)](https://docs.openssl.org/3.5/man3/SSL_CIPHER_get_name/) (read 2026-10-27): SSL_CIPHER_get_version
- [OpenSSL 3.5, SSL_get_peer_signature_nid(3)](https://docs.openssl.org/3.5/man3/SSL_get_peer_signature_nid/) (read 2026-10-27): the IANA signature scheme name, added in 3.5
- [OpenSSL 3.5, EVP_PKEY_is_a(3)](https://docs.openssl.org/3.5/man3/EVP_PKEY_is_a/) (read 2026-10-27): EVP_PKEY_get0_type_name, the key type name in the a:PKEY line
- [OpenSSL 3.5, SSL_CTX_set_security_level(3)](https://docs.openssl.org/3.5/man3/SSL_CTX_set_security_level/) (read 2026-10-27): security levels
- [OpenSSL 3.5, ERR_print_errors(3)](https://docs.openssl.org/3.5/man3/ERR_print_errors/) (read 2026-10-27): the error line format
- [OpenSSL 3.5, BIO_parse_hostserv(3)](https://docs.openssl.org/3.5/man3/BIO_parse_hostserv/) (read 2026-10-27): a host without a service
- [OpenSSL 3.5, openssl-ciphers(1)](https://docs.openssl.org/3.5/man1/openssl-ciphers/) (read 2026-10-27): cipher suite names
- [OpenSSL source, tag openssl-3.5.9, apps/s_client.c](https://github.com/openssl/openssl/blob/openssl-3.5.9/apps/s_client.c) (read 2026-10-27), with apps/lib/s_cb.c, apps/lib/s_socket.c, apps/lib/apps.c, apps/lib/opt.c, ssl/ssl_txt.c, ssl/t1_lib.c, ssl/statem/statem_clnt.c, include/openssl/x509_vfy.h.in and crypto/x509/x509_txt.c at the same tag: the output layout, the option table and the codes
- [OpenSSL source, tag openssl-3.6.5, apps/s_client.c](https://github.com/openssl/openssl/blob/openssl-3.6.5/apps/s_client.c) (read 2026-10-27), with the same files: the lines only 3.6 prints
- [OpenSSL source, tag openssl-3.0.13, apps/s_client.c](https://github.com/openssl/openssl/blob/openssl-3.0.13/apps/s_client.c) (read 2026-10-27), with the same files: the lines only 3.0 prints
- [RFC 9846: The Transport Layer Security (TLS) Protocol Version 1.3](https://www.rfc-editor.org/rfc/rfc9846) (July 2026, obsoletes RFC 8446 and RFC 5246; read 2026-10-27)
- [RFC 6066: TLS Extensions](https://www.rfc-editor.org/rfc/rfc6066) (read 2026-10-27): server_name and status_request
- [RFC 7301: TLS Application-Layer Protocol Negotiation Extension](https://www.rfc-editor.org/rfc/rfc7301) (read 2026-10-27)
- [RFC 8996: Deprecating TLS 1.0 and TLS 1.1](https://www.rfc-editor.org/rfc/rfc8996) (read 2026-10-27)
- [RFC 9325: Recommendations for Secure Use of TLS and DTLS](https://www.rfc-editor.org/rfc/rfc9325) (read 2026-10-27)
- [RFC 5246: TLS 1.2](https://www.rfc-editor.org/rfc/rfc5246) (read 2026-10-27): section 8.1, the master secret, and section 6.3, the keys derived from it
- [RFC 5746: TLS Renegotiation Indication Extension](https://www.rfc-editor.org/rfc/rfc5746) (read 2026-10-27)
- [RFC 9155: Deprecating MD5 and SHA-1 Signature Hashes in TLS 1.2 and DTLS 1.2](https://www.rfc-editor.org/rfc/rfc9155) (read 2026-10-27)
- [RFC 6960: Online Certificate Status Protocol](https://www.rfc-editor.org/rfc/rfc6960) (read 2026-10-27): section 2.2, the certificate states
- [RFC 3986, Uniform Resource Identifier (URI): Generic Syntax](https://www.rfc-editor.org/rfc/rfc3986) (read 2026-10-27): section 3.5, the fragment, which carries a Share results link's values

## Standards and references

- [OpenSSL 3.5 manual, openssl-s_client(1): every option, the SNI default since 1.1.1, -showcerts (not a verified chain), -verify and -verify_return_error, the starttls keywords, the note on non-interactive use, HISTORY](https://docs.openssl.org/3.5/man1/openssl-s_client/)
- [OpenSSL Library, downloads: openssl-3.5.9, the 3.5 [LTS] release of 29 September 2026, with its SHA-256 and PGP signature; the build that made the golden-vector runs (hash and signature checked)](https://openssl-library.org/source/)
- [OpenSSL Library, release strategy: version 3.5 is supported until 2030-04-08 (LTS), 3.6 until 2026-11-01, 4.0 until 2027-05-14; 3.0 is no longer supported](https://openssl-library.org/policies/releasestrat/)
- [OpenSSL Library, downloads: 3.5.9 (released 29 Sep 2026, end of life 08 Apr 2030) is the current 3.5 [LTS] release; versions not listed are out of support](https://openssl-library.org/source/)
- [OpenSSL 3.6 manual, openssl-s_client(1): -ocsp_check_leaf and -ocsp_check_all, added in OpenSSL 3.6 (kept and marked: 3.5 has neither)](https://docs.openssl.org/3.6/man1/openssl-s_client/)
- [OpenSSL 3.0 manual, openssl-s_client(1): the release whose output layout is still read (Server Temp Key, spaced names)](https://docs.openssl.org/3.0/man1/openssl-s_client/)
- [OpenSSL 4.1 manual, openssl-s_client(1): what changed after 3.x (-engine removed in 4.0, -ssl3 no longer listed, -quiet implies -verify_quiet, ECH options)](https://docs.openssl.org/4.1/man1/openssl-s_client/)
- [OpenSSL 3.5 manual, openssl-verify(1), DIAGNOSTICS: the error number and depth, and where the list of codes lives](https://docs.openssl.org/3.5/man1/openssl-verify/)
- [OpenSSL 3.5 manual, X509_STORE_CTX_get_error(3), ERROR CODES: every verification code with its message and description (3.6 adds five OCSP codes, kept and marked)](https://docs.openssl.org/3.5/man3/X509_STORE_CTX_get_error/)
- [OpenSSL 3.5 manual, openssl-verification-options(1): trusted certificate options (-CAfile, -CApath, -CAstore, no default trust anchors shipped), verification options (-verify_hostname, -verify_ip, -attime, -partial_chain, -x509_strict, -purpose, -auth_level)](https://docs.openssl.org/3.5/man1/openssl-verification-options/)
- [OpenSSL 3.5 manual, SSL_CONF_cmd(3), SUPPORTED COMMAND LINE COMMANDS: -cipher, -ciphersuites, -groups and -curves (X25519MLKEM768 first in the default list from 3.5), -sigalgs, -no_ticket, -min_protocol, -max_protocol, the deprecated -no_* options, middlebox compatibility](https://docs.openssl.org/3.5/man3/SSL_CONF_cmd/)
- [OpenSSL 3.5 manual, SSL_CTX_set1_groups_list(3): the key shares a client sends (* prefix, at most four) and the DEFAULT list, which predicts X25519MLKEM768](https://docs.openssl.org/3.5/man3/SSL_CTX_set1_curves/)
- [OpenSSL 3.5 manual, openssl(1), TLS Version Options: one version only, not combined with -no_*; by default the client offers its lowest to highest version](https://docs.openssl.org/3.5/man1/openssl/)
- [OpenSSL 3.5 manual, SSL_CTX_set_verify(3): in client mode with SSL_VERIFY_NONE the certificate is still checked and the handshake continues regardless](https://docs.openssl.org/3.5/man3/SSL_CTX_set_verify/)
- [OpenSSL 3.5 manual, SSL_CIPHER_get_name(3): SSL_CIPHER_get_version returns the version that first defined the cipher](https://docs.openssl.org/3.5/man3/SSL_CIPHER_get_name/)
- [OpenSSL 3.5 manual, SSL_get_peer_signature_nid(3): SSL_get0_peer_signature_name returns the IANA name of the peer's signature scheme (added in 3.5)](https://docs.openssl.org/3.5/man3/SSL_get_peer_signature_nid/)
- [OpenSSL 3.5 manual, SSL_CTX_set_security_level(3): levels 0 to 5; SSLv3, TLS 1.0 and 1.1 disabled from level 1](https://docs.openssl.org/3.5/man3/SSL_CTX_set_security_level/)
- [OpenSSL 3.5 manual, ERR_print_errors(3): the format of an error-queue line](https://docs.openssl.org/3.5/man3/ERR_print_errors/)
- [OpenSSL 3.5 manual, openssl-passphrase-options(1): pass:password is visible to ps](https://docs.openssl.org/3.5/man1/openssl-passphrase-options/)
- [OpenSSL 3.5 manual, BIO_parse_hostserv(3): a host with no port leaves the service untouched (so s_client keeps 4433)](https://docs.openssl.org/3.5/man3/BIO_parse_hostserv/)
- [OpenSSL 3.5 manual, openssl-ciphers(1), CIPHER SUITE NAMES: standard and OpenSSL names; names without an authentication part use RSA](https://docs.openssl.org/3.5/man1/openssl-ciphers/)
- [OpenSSL source at tag openssl-3.5.9: apps/s_client.c (print_stuff, print_cert_key_info, ocsp_resp_cb, new_session_cb, option table), apps/lib/s_cb.c (verify_callback, ssl_print_sigalgs, ssl_print_tmp_key, ssl_print_secure_renegotiation_notes, print_ssl_summary), apps/lib/s_socket.c (init_client), apps/lib/apps.c (get_nameopt), apps/lib/opt.c, ssl/ssl_txt.c, ssl/t1_lib.c, include/openssl/x509_vfy.h.in, crypto/x509/x509_txt.c](https://github.com/openssl/openssl/blob/openssl-3.5.9/apps/s_client.c)
- [OpenSSL source at tag openssl-3.6.5: the same files, for the lines only 3.6 prints (OCSP responses: wording, -ocsp_check_* messages, codes 96 to 101)](https://github.com/openssl/openssl/blob/openssl-3.6.5/apps/s_client.c)
- [OpenSSL source at tag openssl-3.0.13: the same files, for the lines only 3.0 prints (Server Temp Key, spaced names, rsaEncryption key names)](https://github.com/openssl/openssl/blob/openssl-3.0.13/apps/s_client.c)
- [RFC 9846, The Transport Layer Security (TLS) Protocol Version 1.3 (July 2026; obsoletes RFC 8446 and RFC 5246): 4.5.1 certificate list order, 4.7.1 tickets and the resumption PSK, Appendix E extended main secret](https://www.rfc-editor.org/rfc/rfc9846)
- [RFC 6066, TLS Extensions: section 3 (server_name: no IP literals) and section 8 (status_request)](https://www.rfc-editor.org/rfc/rfc6066)
- [RFC 7301, TLS Application-Layer Protocol Negotiation Extension](https://www.rfc-editor.org/rfc/rfc7301)
- [RFC 8996, Deprecating TLS 1.0 and TLS 1.1](https://www.rfc-editor.org/rfc/rfc8996)
- [RFC 9325 (BCP 195), Recommendations for Secure Use of TLS and DTLS: 3.5 renegotiation_info and extended_master_secret, 4.1 and 4.2 cipher suites](https://www.rfc-editor.org/rfc/rfc9325)
- [RFC 5246, TLS 1.2: section 8.1, the 48-byte master secret, and section 6.3, the keys derived from it](https://www.rfc-editor.org/rfc/rfc5246)
- [RFC 5746, TLS Renegotiation Indication Extension](https://www.rfc-editor.org/rfc/rfc5746)
- [RFC 9155, Deprecating MD5 and SHA-1 Signature Hashes in TLS 1.2 and DTLS 1.2](https://www.rfc-editor.org/rfc/rfc9155)
- [RFC 6960, Online Certificate Status Protocol (OCSP): section 2.2, good, revoked and unknown](https://www.rfc-editor.org/rfc/rfc6960)

## Related reading

- [Certificate chains: the order, the anchor, and what breaks them](https://ronutz.com/en/learn/certificate-chains-order-anchors-and-what-breaks-them.md): A server certificate is only the last link. How a client builds the path from the leaf to a root it trusts, why the order of the Certificate message matters and what TLS 1.3 relaxed, why the root is normally left out, how key identifiers and names link one certificate to the next, what pathLenConstraint, cA and keyCertSign forbid, why a cross-signed root appears in a chain as if it were an intermediate, and why the same chain works in one browser and fails in another. With RFC 5280, RFC 8446, the Baseline Requirements and a live Let's Encrypt chain.
- [Certificates, Keys, and Chain Building in an SSL Profile](https://ronutz.com/en/learn/f5-ssl-cert-key-chain.md): A client-ssl profile binds a server certificate to its private key and, crucially, to a chain bundle that lets clients build a path to a trusted root. The modern cert-key-chain construct also lets one profile serve several certificate types, picked per client, which is the foundation of RSA-plus-ECDSA and SNI deployments.
- [How certificate validation actually works](https://ronutz.com/en/learn/certificate-validation.md): The steps a client runs to decide a certificate is trustworthy: building the chain, checking signatures and dates, matching the name, and enforcing constraints.
- [Hybrid Key Exchange in TLS 1.3: What X25519MLKEM768 Does on the Wire](https://ronutz.com/en/learn/hybrid-key-exchange-in-tls.md): The web did not swap classical key exchange for post-quantum; it runs both at once. X25519MLKEM768 combines a 1990s elliptic curve with lattice-based ML-KEM-768 in a single TLS 1.3 group, so a break of either still leaves the session secure. This covers why hybrid rather than replacement, the wire format and its size problem, and where deployment stands across browsers, servers, and the middleboxes it breaks.
- [OCSP Must-Staple: Closing the Soft-Fail Gap](https://ronutz.com/en/learn/ocsp-must-staple.md): Real-time OCSP checking has a fatal weakness: when the responder is unreachable, clients usually proceed anyway. OCSP stapling and the Must-Staple flag are the fix. What the TLS Feature extension declares, and the operational risk it carries.
- [Python cryptography and TLS: the ssl module, pyca/cryptography and reading certificates](https://ronutz.com/en/learn/python-cryptography-and-tls.md): Python reaches TLS and cryptography through two layers that are patched separately: the standard ssl module, a wrapper around the OpenSSL the interpreter was built with, and the pyca/cryptography package, whose wheels carry their own OpenSSL and which divides itself into safe recipes and a hazardous-materials layer. This part of the Python series builds a lab CA with cryptography, runs a TLS server on 127.0.0.1 to show what create_default_context() verifies, how SNI and ALPN behave and what a name mismatch looks like, reproduces the series' finding that Python 3.13 rejects a certificate without an Authority Key Identifier, diagnoses it from the certificate's side, and encrypts and signs a configuration backup with Fernet, AES-GCM and Ed25519.
- [Reading openssl s_client: what the command checks and what the output proves](https://ronutz.com/en/learn/reading-openssl-s-client-output.md): openssl s_client is the first thing most engineers run against a TLS server, and its output is easy to misread: it finishes the handshake even when the certificate fails, it never checks a host name unless told to, a missing port means 4433, and the version on the cipher line is not the version negotiated. Read against the manual of OpenSSL 3.5, the long-term-support release: the defaults the command does not show, every block of the output from the depth lines to the TLS 1.3 session tickets, the verify return codes that matter, and a command that actually checks what you think it checks.
- [Renegotiation, Secure Renegotiation, and OCSP Stapling](https://ronutz.com/en/learn/f5-ssl-renegotiation-and-ocsp.md): Three SSL profile settings shape the handshake's safety after the first message: renegotiation decides whether a connection may renegotiate at all, secure-renegotiation enforces the RFC 5746 protection, and ocsp-stapling lets the BIG-IP attach a fresh revocation proof so clients need not phone the CA.
- [TLS 1.2 vs TLS 1.3 vs DTLS vs QUIC: One Handshake Family, Four Shapes](https://ronutz.com/en/learn/tls12-tls13-dtls-quic.md): TLS 1.2 and TLS 1.3 secure a TCP stream, DTLS carries the same guarantees over datagrams, and QUIC absorbs the TLS 1.3 handshake into the transport itself. What each one is, which RFC defines it today, what actually changed between them, and where each one runs.
