datatheorem / TrustKit-Android

Easy SSL pinning validation and reporting for Android.
MIT License
584 stars 87 forks source link

failed to connect on API 18 19 #20

Closed evollu closed 7 years ago

evollu commented 7 years ago

I followed the readme and it works fine on API 20+ However I'm getting following error when trying with API 18 and 19. javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb8a5a5c0: Failure in SSL library, usually a protocol error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

The call works when I use sslSocketFactory(new TLSSocketFactory())

nabla-c0d3 commented 7 years ago

Hello, this seems to be a problem with Android and your application server, as TrustKit does not modify the SSL/TLS version used for the connections.

evollu commented 7 years ago

yeah look like it is caused by my server not supporting ssl v3