Mercurial > prosody-hg
comparison core/certmanager.lua @ 5897:296e32a1ff33
Merge 0.10 -> trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 31 Oct 2013 20:49:03 +0100 |
| parents | 019130907a07 |
| children | c1bc2c20a80a |
comparison
equal
deleted
inserted
replaced
| 5880:11f14d44438e | 5897:296e32a1ff33 |
|---|---|
| 35 | 35 |
| 36 local core_defaults = { | 36 local core_defaults = { |
| 37 capath = "/etc/ssl/certs"; | 37 capath = "/etc/ssl/certs"; |
| 38 protocol = "sslv23"; | 38 protocol = "sslv23"; |
| 39 verify = (ssl and ssl.x509 and { "peer", "client_once", }) or "none"; | 39 verify = (ssl and ssl.x509 and { "peer", "client_once", }) or "none"; |
| 40 options = { "no_sslv2", luasec_has_noticket and "no_ticket" or nil }; | 40 options = { "no_sslv2", "no_sslv3", luasec_has_noticket and "no_ticket" or nil }; |
| 41 verifyext = { "lsec_continue", "lsec_ignore_purpose" }; | 41 verifyext = { "lsec_continue", "lsec_ignore_purpose" }; |
| 42 curve = "secp384r1"; | 42 curve = "secp384r1"; |
| 43 ciphers = "HIGH:!DSS:!aNULL@STRENGTH"; | 43 ciphers = "HIGH:!DSS:!aNULL@STRENGTH"; |
| 44 } | 44 } |
| 45 local path_options = { -- These we pass through resolve_path() | 45 local path_options = { -- These we pass through resolve_path() |
