Commit b29adb6
feat: detect and report self-signed certificate error in tls connections (#236)
* feat: provide friendly error message for self-signed certificate in TLS connection error
* Update index.js
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Liam Tait <[email protected]>
* Update index.js
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Liam Tait <[email protected]>
* remove custom error message for self signed cert in chain
* test: add handling for SELF_SIGNED_CERT_IN_CHAIN error in Redis connection
* use single quotes
---------
Signed-off-by: Liam Tait <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent 30ff8aa commit b29adb6
2 files changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
408 | 438 | | |
409 | 439 | | |
410 | 440 | | |
0 commit comments