}
@Test
@Ignore
public void testSave() throws Exception {
CertificateRepo persistenceManager = createLdapCertificateRepo();
File certFile = new File("src/test/java/cert1.cer");
Assert.assertTrue(certFile.exists());
FileInputStream fis = new FileInputStream(certFile);
CertificateFactory factory = CertificateFactory.getInstance("X.509");
X509Certificate cert = (X509Certificate) factory.generateCertificate(fis);
UseKeyWithType key = new UseKeyWithType();
key.setApplication(Applications.PKIX.getUri());
key.setIdentifier(EXPECTED_SUBJECT_DN);
persistenceManager.saveCertificate(cert, key);
testFindBySubjectDnInternal(persistenceManager);
}