You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "David Graff (JIRA)" <ji...@apache.org> on 2013/05/03 14:48:16 UTC

[jira] [Commented] (HTTPCLIENT-1349) SSLSocketFactory incorrectly identifies key passed with keystore as the keystore password.

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

David Graff commented on HTTPCLIENT-1349:
-----------------------------------------

I did not include unit testing on this but it should probably be added.
                
> SSLSocketFactory incorrectly identifies key passed with keystore as the keystore password.
> ------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1349
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1349
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.2.4, 4.2.5, 4.2.6
>            Reporter: David Graff
>            Priority: Minor
>         Attachments: httpclient-4.2.x-SSLSocketFactory-keypassword.patch
>
>
> The constructor signatures for SSLSocketFactory incorrectly identify the password passed as the keystore password. The password passed is, in fact, used by the key manager for private key recovery. If the keystore has one password and the private key has a different password this method will fail if only using the keystore password.
> I have attached a patch to this covering the changes to this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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