public static @Nullable X509Certificate loadX509Certificate(@NotNull String path) {
    try (InputStream stream = new FileInputStream(path)) {
      return (X509Certificate)ourFactory.generateCertificate(stream);
    }
    catch (Exception e) {
      Logger.getInstance(CertificateUtil.class).error("Can't add certificate for path: " + path, e);
      return null;
    }
  }
public static @Nullable X509Certificate loadX509Certificate(@NotNull String path)