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

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartproxy',
version: '4.1.12',
version: '4.1.13',
description: 'A powerful proxy package that effectively handles high traffic, with features such as SSL/TLS support, port proxying, WebSocket handling, dynamic routing with authentication options, and automatic ACME certificate management.'
}

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)
]);