Sure, here you go: https://gist.github.com/klemens/821e8e8727452e206253
The first patch results in the default protocols used (SSLv3 and TLSv1 for android 4.4). But I would recommend the second one, which enables TLSv1 and TLSv1.1, but disables TLSv1.2 to avoid problems with SHA2.
SSLProtocolException "No access possible to the CalDAV or CardDAV service"
First, sorry for the translation, I m belgian so the translation may not be exact …
There is the debug.txt that i’ve got when trying to connect to a nextcloud server with davdroid from a Huawei P7lite. The message popping is the title of the topic.
Can someone tell me what’s the problem, and how can I solve it ?
Thank’s a lot,
Thank’s for giving a look, will try tomorrow.
Didn’t make it work
I m looking on the server side !
EXCEPTION javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x748b0d78: Failure in SSL library, usually a protocol error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x71885d74:0x00000000) at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:448) at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:281)
Android version: 4.4.2 (P7-L10V100R001C00B133SP01)
Seems like your phone doesn’t support the ciphers required by the server. See here: https://forums.bitfire.at/topic/1445/ssl-handshake-failed