fix(tls-handshake): Set certificate_expired TLS alert level to warning instead of fatal to allow graceful termination.

This commit is contained in:
2025-03-17 13:15:12 +00:00
parent 4634c68ea6
commit 35f6739b3c
3 changed files with 8 additions and 2 deletions

View File

@ -611,7 +611,7 @@ export class ConnectionHandler {
0x03, // TLS 1.2 version
0x00,
0x02, // Length
0x02, // Fatal alert level (2)
0x01, // Warning alert level (1)
0x2F, // certificate_expired alert (47)
]);