mirror of
https://github.com/brunoos/luasec.git
synced 2025-07-27 11:20:14 +02:00
Merge pull request #120 from narcistesa/update-tls-cfg
Disable TLSv1 protocol by default in https module
This commit is contained in:
@ -27,7 +27,7 @@ local _M = {
|
|||||||
-- TLS configuration
|
-- TLS configuration
|
||||||
local cfg = {
|
local cfg = {
|
||||||
protocol = "any",
|
protocol = "any",
|
||||||
options = {"all", "no_sslv2", "no_sslv3"},
|
options = {"all", "no_sslv2", "no_sslv3", "no_tlsv1"},
|
||||||
verify = "none",
|
verify = "none",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user