Skip to content

Certificate generation fails when locale is set to Arabic

Summary

When the locale is set to Arabic generation of X509 certificate fails with an Illegal Argument exception This problem is related to https://issuetracker.google.com/issues/37095309

Temporarily setting the locale to English while generating the certificate fixes the problem

BUG: 415306

Test Plan

Before:

De-install kdeconnectd and set the system locale to Arabic Install kdeconnectd and observe that "java.lang.IllegalArgumentException: invalid date string: Unparseable date: "ahabbbahb`daGMT+00:00"" is thrown in logcat

After:

The certificate is generated properly and the device can be paired

Merge request reports