[
https://issues.apache.org/jira/browse/HTTPCORE-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501425#comment-14501425
]
The Alchemist commented on HTTPCORE-398:
----------------------------------------
@[~olegk]: Thanks! What's the suggested alternative to {{useTLS()}}? The
link to the commit here in JIRA doesn't work, otherwise I'd just check your
commit.
> 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: [email protected]
For additional commands, e-mail: [email protected]