mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Merge pull request #1718 from tgurr/sslrenegotiation
Disable SSL/TLS renegotiation
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user