Commit 390e050
tls: support "BEGIN TRUSTED CERTIFICATE" for ca:
Support the same PEM certificate formats for the ca: option to
tls.createSecureContext() that are supported by openssl when loading a
CAfile.
Fixes: #24761
PR-URL: #24733
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 016e352 commit 390e050Copy full SHA for 390e050
File tree
Expand file treeCollapse file tree
3 files changed
+10
-7
lines changedOpen diff view settings
Filter options
- doc/api
- src
- test/parallel
Expand file treeCollapse file tree
3 files changed
+10
-7
lines changedOpen diff view settings
Collapse file
+5-2Lines changed: 5 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1054 | 1054 | |
1055 | 1055 | |
1056 | 1056 | |
| 1057 | + |
| 1058 | + |
| 1059 | + |
1057 | 1060 | |
1058 | 1061 | |
1059 | 1062 | |
| ||
1092 | 1095 | |
1093 | 1096 | |
1094 | 1097 | |
1095 | | - |
1096 | | - |
| 1098 | + |
| 1099 | + |
1097 | 1100 | |
1098 | 1101 | |
1099 | 1102 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
801 | 801 | |
802 | 802 | |
803 | 803 | |
804 | | - |
| 804 | + |
805 | 805 | |
806 | 806 | |
807 | 807 | |
|
Collapse file
test/parallel/test-tls-client-auth.js
Copy file name to clipboardExpand all lines: test/parallel/test-tls-client-auth.js+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
254 | 254 | |
255 | 255 | |
256 | 256 | |
257 | | - |
| 257 | + |
258 | 258 | |
259 | 259 | |
260 | 260 | |
| ||
269 | 269 | |
270 | 270 | |
271 | 271 | |
272 | | - |
| 272 | + |
273 | 273 | |
274 | 274 | |
275 | 275 | |
276 | | - |
| 276 | + |
277 | 277 | |
278 | 278 | |
279 | 279 | |
| ||
288 | 288 | |
289 | 289 | |
290 | 290 | |
291 | | - |
| 291 | + |
292 | 292 | |
293 | 293 | |
294 | 294 | |
|
0 commit comments