@@ -2908,16 +2908,15 @@ await listen((session) => { /* ... */ }, { |
2908 | 2908 | }); |
2909 | 2909 | ``` |
2910 | 2910 |
|
2911 | | -#### `sessionOptions.ca` (client only) |
| 2911 | +#### `sessionOptions.ca` |
2912 | 2912 |
|
2913 | 2913 | <!-- YAML |
2914 | 2914 | added: v23.8.0 |
2915 | 2915 | --> |
2916 | 2916 |
|
2917 | 2917 | * Type: {ArrayBuffer|ArrayBufferView|ArrayBuffer\[]|ArrayBufferView\[]} |
2918 | 2918 |
|
2919 | | -The CA certificates to use for client sessions. For server sessions, CA |
2920 | | -certificates are specified per-identity in the [`sessionOptions.sni`][] map. |
| 2919 | +The CA certificates to use for sessions. |
2921 | 2920 |
|
2922 | 2921 | #### `sessionOptions.cc` |
2923 | 2922 |
|
@@ -2981,16 +2980,15 @@ added: v23.8.0 |
2981 | 2980 |
|
2982 | 2981 | The list of supported TLS 1.3 cipher algorithms. |
2983 | 2982 |
|
2984 | | -#### `sessionOptions.crl` (client only) |
| 2983 | +#### `sessionOptions.crl` |
2985 | 2984 |
|
2986 | 2985 | <!-- YAML |
2987 | 2986 | added: v23.8.0 |
2988 | 2987 | --> |
2989 | 2988 |
|
2990 | 2989 | * Type: {ArrayBuffer|ArrayBufferView|ArrayBuffer\[]|ArrayBufferView\[]} |
2991 | 2990 |
|
2992 | | -The CRL to use for client sessions. For server sessions, CRLs are specified |
2993 | | -per-identity in the [`sessionOptions.sni`][] map. |
| 2991 | +The CRL to use for sessions. |
2994 | 2992 |
|
2995 | 2993 | #### `sessionOptions.enableEarlyData` |
2996 | 2994 |
|
@@ -3280,7 +3278,6 @@ contain: |
3280 | 3278 | * `keys` {KeyObject|KeyObject\[]} The TLS private keys. **Required.** |
3281 | 3279 | * `certs` {ArrayBuffer|ArrayBufferView|ArrayBuffer\[]|ArrayBufferView\[]} |
3282 | 3280 | The TLS certificates. **Required.** |
3283 | | - Optional certificate revocation lists. |
3284 | 3281 | * `verifyPrivateKey` {boolean} Verify the private key. Default: `false`. |
3285 | 3282 | * `port` {number} The port to advertise in ORIGIN frames (RFC 9412) for |
3286 | 3283 | this host name. **Default:** `443`. Only used for HTTP/3 sessions. |
@@ -3294,7 +3291,7 @@ const endpoint = await listen(callback, { |
3294 | 3291 | sni: { |
3295 | 3292 | '*': { keys: [defaultKey], certs: [defaultCert] }, |
3296 | 3293 | 'api.example.com': { keys: [apiKey], certs: [apiCert], port: 8443 }, |
3297 | | - 'www.example.com': { keys: [wwwKey], certs: [wwwCert], ca: [customCA] }, |
| 3294 | + 'www.example.com': { keys: [wwwKey], certs: [wwwCert] }, |
3298 | 3295 | 'internal.example.com': { keys: [intKey], certs: [intCert], authoritative: false }, |
3299 | 3296 | }, |
3300 | 3297 | }); |
|