doc: clarify tlsSocket.authorized on resumption · nodejs/node@efbede6 · GitHub
Skip to content

Commit efbede6

Browse files
soreavisaduh95
authored andcommitted
doc: clarify tlsSocket.authorized on resumption
The peer certificate is not verified again when a connection resumes a TLS session. When the original handshake included a client certificate, authorized and authorizationError carry the verification result stored with the session; on TLS 1.3, a client that sent no certificate can resume a session and report authorized as true. Document this and point manual-authorization servers at isSessionReused() and getPeerCertificate(). Fixes: #35317 Signed-off-by: Julian Soreavis <julian.soreavis@gmail.com> PR-URL: #64584 Reviewed-By: Tim Perry <pimterry@gmail.com>
1 parent 75b80d0 commit efbede6

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

doc/api/tls.md

Lines changed: 13 additions & 0 deletions

0 commit comments

Comments
 (0)