mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: remove references to ca/crl as per-context QuicSession options
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk> PR-URL: https://github.com/nodejs/node/pull/64769 Refs: https://github.com/nodejs/node/pull/62876 Reviewed-By: Aviv Keller <me@aviv.sh>
This commit is contained in:
1 parent
14e802d1cd
commit
b263b0bca1
1 file changed
+5
-8
+5
-8
@@ -2908,7 +2908,7 @@ await listen((session) => { /* ... */ }, {
|
||||
});
|
||||
```
|
||||
|
||||
#### `sessionOptions.ca` (client only)
|
||||
#### `sessionOptions.ca`
|
||||
|
||||
<!-- YAML
|
||||
added: v23.8.0
|
||||
@@ -2916,8 +2916,7 @@ added: v23.8.0
|
||||
|
||||
* Type: {ArrayBuffer|ArrayBufferView|ArrayBuffer\[]|ArrayBufferView\[]}
|
||||
|
||||
The CA certificates to use for client sessions. For server sessions, CA
|
||||
certificates are specified per-identity in the [`sessionOptions.sni`][] map.
|
||||
The CA certificates to use for sessions.
|
||||
|
||||
#### `sessionOptions.cc`
|
||||
|
||||
@@ -2981,7 +2980,7 @@ added: v23.8.0
|
||||
|
||||
The list of supported TLS 1.3 cipher algorithms.
|
||||
|
||||
#### `sessionOptions.crl` (client only)
|
||||
#### `sessionOptions.crl`
|
||||
|
||||
<!-- YAML
|
||||
added: v23.8.0
|
||||
@@ -2989,8 +2988,7 @@ added: v23.8.0
|
||||
|
||||
* Type: {ArrayBuffer|ArrayBufferView|ArrayBuffer\[]|ArrayBufferView\[]}
|
||||
|
||||
The CRL to use for client sessions. For server sessions, CRLs are specified
|
||||
per-identity in the [`sessionOptions.sni`][] map.
|
||||
The CRL to use for sessions.
|
||||
|
||||
#### `sessionOptions.enableEarlyData`
|
||||
|
||||
@@ -3280,7 +3278,6 @@ contain:
|
||||
* `keys` {KeyObject|KeyObject\[]} The TLS private keys. **Required.**
|
||||
* `certs` {ArrayBuffer|ArrayBufferView|ArrayBuffer\[]|ArrayBufferView\[]}
|
||||
The TLS certificates. **Required.**
|
||||
Optional certificate revocation lists.
|
||||
* `verifyPrivateKey` {boolean} Verify the private key. Default: `false`.
|
||||
* `port` {number} The port to advertise in ORIGIN frames (RFC 9412) for
|
||||
this host name. **Default:** `443`. Only used for HTTP/3 sessions.
|
||||
@@ -3294,7 +3291,7 @@ const endpoint = await listen(callback, {
|
||||
sni: {
|
||||
'*': { keys: [defaultKey], certs: [defaultCert] },
|
||||
'api.example.com': { keys: [apiKey], certs: [apiCert], port: 8443 },
|
||||
'www.example.com': { keys: [wwwKey], certs: [wwwCert], ca: [customCA] },
|
||||
'www.example.com': { keys: [wwwKey], certs: [wwwCert] },
|
||||
'internal.example.com': { keys: [intKey], certs: [intCert], authoritative: false },
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user