This commit is contained in:
2025-05-21 17:33:16 +00:00
parent 535b055664
commit 645790d0c2
5 changed files with 13 additions and 24 deletions

View File

@@ -262,8 +262,7 @@ export function createTlsOptions(
rejectUnauthorized: false,
// Longer handshake timeout for reliability
handshakeTimeout: 30000,
// Allow renegotiation for better compatibility
allowRenegotiation: true,
// TLS renegotiation option (removed - not supported in newer Node.js)
// Increase timeout for better reliability under test conditions
sessionTimeout: 600,
// Let the client choose the cipher for better compatibility