You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2015/04/18 12:51:57 UTC
svn commit: r1674481 -
/httpcomponents/httpclient/trunk/src/docbkx/connmgmt.xml
Author: olegk
Date: Sat Apr 18 10:51:56 2015
New Revision: 1674481
URL: http://svn.apache.org/r1674481
Log:
HTTPCORE-398: corrected SSLContext creation example
Modified:
httpcomponents/httpclient/trunk/src/docbkx/connmgmt.xml
Modified: httpcomponents/httpclient/trunk/src/docbkx/connmgmt.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/src/docbkx/connmgmt.xml?rev=1674481&r1=1674480&r2=1674481&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/src/docbkx/connmgmt.xml (original)
+++ httpcomponents/httpclient/trunk/src/docbkx/connmgmt.xml Sat Apr 18 10:51:56 2015
@@ -436,7 +436,6 @@ HttpClients.custom()
<programlisting><![CDATA[
KeyStore myTrustStore = <...>
SSLContext sslContext = SSLContexts.custom()
- .useTLS()
.loadTrustMaterial(myTrustStore)
.build();
SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(sslContext);