int (@NotNull String alias, @NotNull String path) { try { List<X509Certificate> certs = SslUtil.loadCertificates(path); appendCertificates(alias, certs); return certs.size(); } catch (Exception e) { throw new IllegalStateException(e); } }