Android Question Android 14 no longer supports SSLv3 with jdbcSQL and MySQL Connector

SJQ

Member
Licensed User
Longtime User
So, with the discovery that Android 14 no longer supports SSLv3 how are we supposed to use libraries like jdbcSQL and the MySQl jdbc driver on newer devices?

The Microsoft Azure, MySQL Database server the company uses supports TLSv1.0, TLSv1.1, TLSv1.2 how do we configure the jdbc connection to use TLSv1.2 i cannot seem to find any info on specifing the TLS version.

The error I get is when attempting connecting is:

javax.net.ssl.SSLHandshakeException: No enabled protocols; SSLv3, TLSv1 and TLSv1.1 are no longer supported and were filtered from the list

Would a newer jdbc database driver resolve this?

However the jdbcSQL library doesn’t appear to work with the latest MySQL driver, will the library also require updating?
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
Apparently SSL v3 support was dropped in Android 8.0 - so it's not just an Android 14 issue. I don't know much about it myself, but a quick Google indicates that SSL v3 suffered from vulnerabilities. It seems that TLS v1.3 is supported from Android 10 onward. Not much help sorry...

- Colin.
 
Upvote 0

SJQ

Member
Licensed User
Longtime User
Turns out the Database Server allocated to my project is MySQL v5.7 (I don’t have much to do with the servers themselves) and the last version of JDBC connector that will work with MySQL 5.7 is 'mysql-connector-java-5.1.49-bin' and this JDBC connector version apparently doesn’t support TLSv1.2 or the newer TLSv1.3

So, I’m now waiting for the company to setup a new Database Server for my project with MySQL v8

Despite Google dropping support for SSLv3, TLSv1.0, TLSv1.1 back in Android v8 it appears these protocols were still working up to a recent security update that affected Android 12, 13 & 14
 
Upvote 0
Top