public static CertificateWarningDialog createUntrustedCertificateWarning(@NotNull X509Certificate certificate) {
    return createUntrustedCertificateWarning(certificate, null);
  }
public static CertificateWarningDialog createUntrustedCertificateWarning(@NotNull X509Certificate certificate)