X509Certificate x509Certificate = generateCertificate(Issue41662Certificate);
String dn = x509Certificate.getSubjectDN().getName();
assertTrue(dn, dn.contains("Posta CA 1"));
assertTrue(dn, dn.contains("Configuration"));
SslCertificate sslCertificate = new SslCertificate(x509Certificate);
assertEquals(dn, "Posta CA 1", sslCertificate.getIssuedTo().getCName());