Commit 6f5a7cd
committed
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>1 parent 39f427d commit 6f5a7cd
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1075 | 1087 | | |
1076 | 1088 | | |
1077 | 1089 | | |
| |||
2580 | 2592 | | |
2581 | 2593 | | |
2582 | 2594 | | |
| 2595 | + | |
2583 | 2596 | | |
2584 | 2597 | | |
2585 | 2598 | | |
| |||
0 commit comments