hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "The Alchemist (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCORE-398) org.apache.http.ssl.SSLContextBuilder does not have useTLS() anymore, but the tutorial says it does
Date Wed, 15 Apr 2015 18:30:58 GMT
The Alchemist created HTTPCORE-398:
--------------------------------------

             Summary: org.apache.http.ssl.SSLContextBuilder does not have useTLS() anymore,
but the tutorial says it does
                 Key: HTTPCORE-398
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-398
             Project: HttpComponents HttpCore
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 4.4.1
            Reporter: The Alchemist


http://hc.apache.org/httpcomponents-client-4.4.x/tutorial/html/connmgmt.html

{code}
SSLContext sslContext = SSLContexts.custom()
        .useTLS()
        .loadTrustMaterial(myTrustStore)
        .build();
{code}

However, this does not work in 4.4.1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message