Commit 4e3dec8
committed
fix(ie-net): fix multi-process HTTPS by using native OS certificates #75
Root cause: webpki-roots 1.0.6 was missing some root CAs (notably
SSL.com TLS Transit ECC CA R2 used by Cloudflare). This caused
TLS handshake failure: "invalid peer certificate: UnknownIssuer".
Fix:
- Switch from with_webpki_roots() to with_native_roots() which
loads certificates from the OS certificate store (/etc/ssl/certs/)
- Add "native-tokio" feature to hyper-rustls
- Improve error chain capture: walk source() chain for detailed
TLS error messages instead of losing inner cause
Multi-process HTTPS now works — the sandboxed network child can
successfully complete TLS handshakes with external servers.
The --single-process workaround is no longer needed.1 parent 2183781 commit 4e3dec8
3 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
92 | 101 | | |
93 | 102 | | |
94 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments