mirror of
https://github.com/brunoos/luasec.git
synced 2024-12-27 21:08:22 +01:00
Merge pull request #120 from narcistesa/update-tls-cfg
Disable TLSv1 protocol by default in https module
This commit is contained in:
commit
550777a9d6
@ -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",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user