HTTPCORE-398: corrected SSLContext creation example

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1674481 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2015-04-18 10:51:56 +00:00
parent bf0844103a
commit 50cb3a3d4e
1 changed files with 0 additions and 1 deletions

View File

@ -436,7 +436,6 @@ HttpClients.custom()
<programlisting><![CDATA[
KeyStore myTrustStore = <...>
SSLContext sslContext = SSLContexts.custom()
.useTLS()
.loadTrustMaterial(myTrustStore)
.build();
SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(sslContext);