Skip to content

Commit

Permalink
Replace certificates in LDAP by Truststore configuration in default c…
Browse files Browse the repository at this point in the history
…onfiguration #1733
  • Loading branch information
vrindanayak committed Dec 7, 2018
1 parent 61e22fa commit 7464c23
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
import org.junit.Test;

import java.security.KeyStore;
import java.security.cert.X509Certificate;
import java.util.EnumSet;

import static org.dcm4chee.arc.conf.Assert.assertDeviceEquals;
Expand Down Expand Up @@ -118,10 +117,6 @@ public void testPersist() throws Exception {
otherDevices[ArchiveDeviceFactory.STORESCU_INDEX],
otherDevices[ArchiveDeviceFactory.MPPSSCU_INDEX]
);

X509Certificate cacert = (X509Certificate) keyStore.getCertificate("cacert");
String deviceRef = config.deviceRef("dcm4chee-arc");
arc.setAuthorizedNodeCertificates(deviceRef, cacert);
config.persist(arc, register);

Device keycloak = ArchiveDeviceFactory.createKeycloakDevice("keycloak", arrDevice, configType);
Expand Down

0 comments on commit 7464c23

Please sign in to comment.