Commit fd9bb56
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
Backport-PR-URL: #11794
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 bbfd2e3 commit fd9bb56Copy full SHA for fd9bb56
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 |
|---|---|---|
| ||
153 | 153 | |
154 | 154 | |
155 | 155 | |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
156 | 161 | |
157 | 162 | |
158 | 163 | |
| ||
953 | 958 | |
954 | 959 | |
955 | 960 | |
| 961 | + |
| 962 | + |
956 | 963 | |
957 | 964 | |
958 | 965 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
708 | 708 | |
709 | 709 | |
710 | 710 | |
| 711 | + |
| 712 | + |
| 713 | + |
711 | 714 | |
712 | 715 | |
713 | 716 | |
714 | 717 | |
| 718 | + |
715 | 719 | |
716 | 720 | |
717 | 721 | |
|
0 commit comments