Commit aefa735
authored
fix(ext/tls): upgrade rustls to fix SSL cert validation regression (#33912)
- Upgrades `rustls` from 0.23.28 to 0.23.40 to fix a regression where
`fetch()` fails on servers with certain SSL certificate configurations
(ecdsa-with-SHA256 signature + secp384r1/P-384 key).
- The root cause was that `rustls-webpki` 0.103.4+ (bumped in #33510)
returns a new error variant
(`UnsupportedSignatureAlgorithmForPublicKeyContext`) that `rustls`
0.23.28 didn't handle, breaking the algorithm fallback loop during TLS
handshake. `rustls` 0.23.29+ handles this correctly.
Fixes #338661 parent 06c1659 commit aefa735
2 files changed
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
0 commit comments