mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
Disable SSLv2 by default, it's known to be insecure.
This commit is contained in:
parent
c82b309e78
commit
a5dcc1d8c6
3 changed files with 4 additions and 3 deletions
|
@ -282,6 +282,7 @@ function new_from_config(ports, handle_request, default_options)
|
|||
if ssl then
|
||||
ssl.mode = "server";
|
||||
ssl.protocol = "sslv23";
|
||||
ssl.options = "no_sslv2";
|
||||
end
|
||||
|
||||
new{ port = port, interface = interface,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue