hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: How does SSLSocketFactory choose the client cert?
Date Sun, 12 Jun 2016 15:09:28 GMT
On Fri, 2016-06-10 at 18:10 -0500, eagledare wrote:
> Hi, I'm struggling with an issue where during the SSL handshake for a
> RESTful post my code will not send the client cert to the other side, and
> the result is a handshake_failure error. I know that the server side
> certificates are being accepted and are in my truststore. I know that both
> the server and client certs I want to use are in my keystore, but nothing
> is being sent to the server when we reach the client cert piece of the
> negotiation.
> My question is, what critera are being used by SSLSocketFactory to choose
> the client cert? Does my local hostname need to match the CN or DNS entries
> in the client cert?
> Thanks in advance. Also, below is a link to a stackoverflow post with more
> details on the issue.
> http://stackoverflow.com/questions/37757544/apache-httpclient-sends-no-client-cert-during-mutual-authentication

See SO


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

View raw message