Or in languages like Arabic, an "IllegalArgumentException: invalid date string" will be thrown. Since JcaX509v3CertificateBuilder does not accepts Locales, we must switch to its super class, X509v3CertificateBuilder.