[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286325#comment-17286325
 ] 

Abhishek A commented on HTTPCLIENT-2137:
----------------------------------------

Version upgrade from 4.5.6 to 5.0.3 resolved the issue, thanks!

> PrivateKeyStrategy does not work in JRE 271 
> --------------------------------------------
>
>                 Key: HTTPCLIENT-2137
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2137
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 4.4.1, 4.5.6
>            Reporter: Abhishek A
>            Priority: Major
>         Attachments: JARs.jpg, PrivateKeyStrategy_IMPL.txt
>
>
> Custom PrivateKeyStrategy chooseAlias(Map<String, PrivateKeyDetails> aliases, 
> Socket socket) is not called in JRE 1.8.0_271
> However, it is called properly in JRE 1.8.0_251
> chooseAlias() method has been overridden (referred StackOverflow) to consider 
> Smart Card Authentication certificate but it is just not called after the JRE 
> upgrade from 251 to 271 :(
> Please refer attachment for code & JARs used



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to