Merge pull request #1718 from tgurr/sslrenegotiation

Disable SSL/TLS renegotiation
This commit is contained in:
Jamie Cameron
2025-07-07 17:20:37 +10:00
committed by GitHub

View File

@ -4769,6 +4769,10 @@ if ($config{'ssl_honorcipherorder'}) {
&Net::SSLeay::OP_CIPHER_SERVER_PREFERENCE)';
}
# Disable TLS renegotiation when possible, OpenSSL >= 1.1.0h
eval 'Net::SSLeay::CTX_set_options($ssl_ctx,
&Net::SSLeay::OP_NO_RENEGOTIATION)';
return { 'keyfile' => $keyfile,
'keytime' => $kst[9],
'certfile' => $certfile,