Commit aeea13b
crypto: Use system CAs instead of using bundled ones
NodeJS can already use an external, shared OpenSSL library. This
library knows where to look for OS managed certificates. Allow
a compile-time option to use this CA store by default instead of
using bundled certificates.
In case when using bundled OpenSSL, the paths are also valid for
majority of Linux systems without additional intervention. If
this is not set, we can use SSL_CERT_DIR to point it to correct
location.
Fixes: #3159
PR-URL: #8334
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>1 parent ac2b059 commit aeea13bCopy full SHA for aeea13b
File tree
Expand file treeCollapse file tree
2 files changed
+11
-0
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
2 files changed
+11
-0
lines changedOpen diff view settings
Collapse file
+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
144 | 144 | |
145 | 145 | |
146 | 146 | |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
147 | 152 | |
148 | 153 | |
149 | 154 | |
| ||
940 | 945 | |
941 | 946 | |
942 | 947 | |
| 948 | + |
| 949 | + |
943 | 950 | |
944 | 951 | |
945 | 952 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
707 | 707 | |
708 | 708 | |
709 | 709 | |
| 710 | + |
| 711 | + |
| 712 | + |
710 | 713 | |
711 | 714 | |
712 | 715 | |
713 | 716 | |
| 717 | + |
714 | 718 | |
715 | 719 | |
716 | 720 | |
|
0 commit comments