-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AHC 1.9 throw handshake error at second time request #891
Comments
The main difference regarding SSL between AHC 1.8 and 1.9 is that 1.9 used a custom very insecure implementation for dealing with certificate hostname validation, while 1.9 uses the standard Java way that was introduced in Java 7: http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/SSLParameters.html#setEndpointIdentificationAlgorithm(java.lang.String) Without a reproducer, there's nothing I can do. |
Thank you for reply. That's right. I'll find a reproducer or cause and post new issue. Sorry for taking time. |
Sorry I can't do more, but AHC works fine for me, both for proper certificates, and self signed ones. |
Can't reproduce. Closing until user provides a reproducer. |
I am having the same issue. I posted a response here: https://groups.google.com/forum/#!topic/gatling/QEMYnZsVI-k |
I tried AHC 2.0-RC1, and handshake error did not appeared at second time request. Thank you. |
Great. Thanks for your feedback. |
Add a shell script to generate a self-signed CA certificate and signed server and client auth certificates to test the behavior with these certs and a fabio cert store.
I found a SSL server that first time request is OK, but second time is handshake error when use AHC 1.9. However, AHC 1.8 has no error at any time.
I think some SSL config of the server will cause this problem. But the server is in private network, so I cannot share the URL. And sorry, I could not find websites that cause same problem.
This issue is similer to #828 (Is it solved ?)
Example
Log (AHC 1.9.24)
The text was updated successfully, but these errors were encountered: