jira-importer opened a new issue, #895: URL: https://github.com/apache/httpcomponents-core/issues/895
**[Chris Kistner](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pada)** opened **[HTTPCORE-396](https://issues.apache.org/jira/browse/HTTPCORE-396?redirect=false)** and commented I tried using httpclient-4.3.6's SSLContextBuilder to build a SSLContext, which I then fed to my AsyncHttpClient connection pool. It worked just fine for configuring the cipher suites, TLS/SSL protocols and trust stores, however it did not work for the key managers. The reason being that it did not implement a key manager that extended X509ExtendedKeyManager. As far as I saw the differences between the X509ExtendedKeyManager abstract class and X509KeyManager interface are: * X509ExtendedKeyManager (for async [and sync]) takes in SSLEngine as argument for its chooseEngineClientAlias method * X509KeyManager (for sync only) takes in Socket as argument for its chooseServerAlias method For the while being, I've copied and adjusted the SSLContextBuilder and PrivateKeyStrategy classes to suite my needs for a KeyManager implementation when going async. See the attached files for my copy. --- **Affects:** 4.4 **Attachments:** - [ApacheAsyncPrivateKeyStrategy.java](https://issues.apache.org/jira/secure/attachment/12699335/ApacheAsyncPrivateKeyStrategy.java) (_1.82 kB_) - [ApacheAsyncSSLContextBuilder.java](https://issues.apache.org/jira/secure/attachment/12699336/ApacheAsyncSSLContextBuilder.java) (_9.65 kB_) **Backported to:** [4.4.1](https://github.com/apache/httpcomponents-core/milestone/39?closed=1) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
