Many websites could potentially break on older Android phones in 2021
Although Project Treble has played a major role in improving the distribution of the latest versions of Android over the last few years, fragmentation remains one of the biggest shortcomings of the Android ecosystem. A huge chunk of Android devices currently in use run out-of-date versions of the operating system, and that can lead to a variety of issues. For instance, many websites could potentially break on older Android devices next year due to an expiring root certificate.
When Let’s Encrypt, a non-profit certificate authority that provides free certificates for TLS encryption, first launched several years ago, the organization cross-signed signatures with IdenTrust’s DST Root X3 certificate, a root certificate that has been in use for years and is trusted by the majority of major software platforms, including Windows, iOS, Android, macOS, and many Linux distributions. To date, millions of web domains are protected with Let’s Encrypt certificates, but as pointed out in a recent blog post from Let’s Encrypt, the DST Root X3 root certificate will expire on September 1, 2021.
Let’s Encrypt’s partnership with IdenTrust was necessary for the former’s certificates to quickly be trusted by existing devices, but at the same time, the organization issued its own root certificate (ISRG Root X1) and worked to have it be trusted by most major operating systems. However, some software that hasn’t been updated since 2016 won’t trust the new root certificate, which includes Android devices running versions less than 7.1.1. Therefore, when the DST Root X3 root certificate expires next year, many older Android devices will no longer trust certificates issued by Let’s Encrypt and will thus get certificate errors when visiting websites whose TLS encryption is signed with a Let’s Encrypt certificate.
According to the latest Android distribution statistics derived from Android Studio (shown below), 33.8% of Android devices in circulation as of April 2020 run Android versions older than 7.1 Nougat. This represents around 1-5% of traffic to websites that have a Let’s Encrypt certificate. While the percentage of devices running older Android OS versions will undoubtedly decrease by the time DST Root X3 expires next year, the drop in percentage may not be significant based on current trends.
To minimize the impact of this change for end-users, Let’s Encrypt has offered two solutions. The first solution, which is directed at website owners, will introduce a change to the Let’s Encrypt API in January next year so that “ACME clients will, by default, serve a certificate chain that leads to ISRG Root X1. However, it will also be possible to serve an alternate certificate chain for the same certificate that leads to DST Root X3 and offers broader compatibility.”
For end-users who have a device running an older version of Android, Let’s Encrypt suggests installing Firefox to circumvent this issue. Unlike stock browser apps, which rely on the operating system for the list of trusted root certificates, Firefox ships with its own trusted root certificates list. The latest version of Firefox for Android includes an up-to-date list of trusted certificate authorities, and it will allow users with an outdated version of Android to open websites that have a Let’s Encrypt certificate.