From 4a34358f9d15d0c92fac4c2a013841129bc76b0c Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Thu, 29 Jul 2010 00:02:22 +0000 Subject: more relaxed verification of SSL chains, COUCHDB-840 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@980270 13f79535-47bb-0310-9956-ffa450edef68 --- src/ibrowse/ibrowse_http_client.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ibrowse/ibrowse_http_client.erl b/src/ibrowse/ibrowse_http_client.erl index a767b84e..65d9cb9c 100644 --- a/src/ibrowse/ibrowse_http_client.erl +++ b/src/ibrowse/ibrowse_http_client.erl @@ -119,7 +119,7 @@ init(#url{host=Host, port=Port, protocol=Protocol}) -> host = Host, port = Port, is_ssl = (Protocol == https), - ssl_options = [{ssl_imp, new}] + ssl_options = [{ssl_imp, new}, {depth, 9}] }, put(ibrowse_trace_token, [Host, $:, integer_to_list(Port)]), put(my_trace_flag, ibrowse_lib:get_trace_status(Host, Port)), -- cgit v1.2.3