diff options
author | Badlop <badlop@process-one.net> | 2010-06-25 17:15:28 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2010-06-25 18:33:46 +0200 |
commit | 3ab90c9d3a951b8e320d1e928a048c4649449b77 (patch) | |
tree | eb662286f4ebd398ec85124acb3affaaf8a1c036 /src | |
parent | OpenSSL is required, not optional (diff) |
Don't ask for client certificate when using tls (EJAB-1267)
Diffstat (limited to 'src')
-rw-r--r-- | src/web/ejabberd_http.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/ejabberd_http.erl b/src/web/ejabberd_http.erl index 4e1f14320..2f2315017 100644 --- a/src/web/ejabberd_http.erl +++ b/src/web/ejabberd_http.erl @@ -87,9 +87,10 @@ start_link(SockData, Opts) -> init({SockMod, Socket}, Opts) -> TLSEnabled = lists:member(tls, Opts), - TLSOpts = lists:filter(fun({certfile, _}) -> true; + TLSOpts1 = lists:filter(fun({certfile, _}) -> true; (_) -> false end, Opts), + TLSOpts = [verify_none | TLSOpts1], {SockMod1, Socket1} = if TLSEnabled -> |