| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2890,16 +2890,15 @@ await listen((session) => { /* ... */ }, { | |||
| 2890 | 2890 | }); | |
| 2891 | 2891 | ``` | |
| 2892 | 2892 | ||
| 2893 | - #### `sessionOptions.ca` (client only) | ||
| 2893 | + #### `sessionOptions.ca` | ||
| 2894 | 2894 | ||
| 2895 | 2895 | <!-- YAML | |
| 2896 | 2896 | added: v23.8.0 | |
| 2897 | 2897 | --> | |
| 2898 | 2898 | ||
| 2899 | 2899 | * Type: {ArrayBuffer|ArrayBufferView|ArrayBuffer\[]|ArrayBufferView\[]} | |
| 2900 | 2900 | ||
| 2901 | - The CA certificates to use for client sessions. For server sessions, CA | ||
| 2902 | - certificates are specified per-identity in the [`sessionOptions.sni`][] map. | ||
| 2901 | + The CA certificates to use for sessions. | ||
| 2903 | 2902 | ||
| 2904 | 2903 | #### `sessionOptions.cc` | |
| 2905 | 2904 | ||
@@ -2963,16 +2962,15 @@ added: v23.8.0 | |||
| 2963 | 2962 | ||
| 2964 | 2963 | The list of supported TLS 1.3 cipher algorithms. | |
| 2965 | 2964 | ||
| 2966 | - #### `sessionOptions.crl` (client only) | ||
| 2965 | + #### `sessionOptions.crl` | ||
| 2967 | 2966 | ||
| 2968 | 2967 | <!-- YAML | |
| 2969 | 2968 | added: v23.8.0 | |
| 2970 | 2969 | --> | |
| 2971 | 2970 | ||
| 2972 | 2971 | * Type: {ArrayBuffer|ArrayBufferView|ArrayBuffer\[]|ArrayBufferView\[]} | |
| 2973 | 2972 | ||
| 2974 | - The CRL to use for client sessions. For server sessions, CRLs are specified | ||
| 2975 | - per-identity in the [`sessionOptions.sni`][] map. | ||
| 2973 | + The CRL to use for sessions. | ||
| 2976 | 2974 | ||
| 2977 | 2975 | #### `sessionOptions.enableEarlyData` | |
| 2978 | 2976 | ||
@@ -3262,7 +3260,6 @@ contain: | |||
| 3262 | 3260 | * `keys` {KeyObject|KeyObject\[]} The TLS private keys. **Required.** | |
| 3263 | 3261 | * `certs` {ArrayBuffer|ArrayBufferView|ArrayBuffer\[]|ArrayBufferView\[]} | |
| 3264 | 3262 | The TLS certificates. **Required.** | |
| 3265 | - Optional certificate revocation lists. | ||
| 3266 | 3263 | * `verifyPrivateKey` {boolean} Verify the private key. Default: `false`. | |
| 3267 | 3264 | * `port` {number} The port to advertise in ORIGIN frames (RFC 9412) for | |
| 3268 | 3265 | this host name. **Default:** `443`. Only used for HTTP/3 sessions. | |
@@ -3276,7 +3273,7 @@ const endpoint = await listen(callback, { | |||
| 3276 | 3273 | sni: { | |
| 3277 | 3274 | '*': { keys: [defaultKey], certs: [defaultCert] }, | |
| 3278 | 3275 | 'api.example.com': { keys: [apiKey], certs: [apiCert], port: 8443 }, | |
| 3279 | - 'www.example.com': { keys: [wwwKey], certs: [wwwCert], ca: [customCA] }, | ||
| 3276 | + 'www.example.com': { keys: [wwwKey], certs: [wwwCert] }, | ||
| 3280 | 3277 | 'internal.example.com': { keys: [intKey], certs: [intCert], authoritative: false }, | |
| 3281 | 3278 | }, | |
| 3282 | 3279 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments