]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/TestCrossDomainAccess.java
add: notify board if a support role is granted or removed
[gigi.git] / tests / org / cacert / gigi / TestCrossDomainAccess.java
index e04235e532ad972e9dfdd420dd6b3c1d457ab7ae..0ddf10e1053d7599a80227e183824f9976824b9e 100644 (file)
@@ -51,6 +51,7 @@ public class TestCrossDomainAccess extends ManagedTest {
         String key = generatePEMCSR(kp, "CN=testmail@example.com");
         Certificate c = new Certificate(u, u, Certificate.buildDN("CN", "testmail@example.com"), Digest.SHA256, key, CSRType.CSR, CertificateProfile.getById(1));
         final PrivateKey pk = kp.getPrivate();
+        c.setLoginEnabled(true);
         await(c.issue(null, "2y", u));
 
         URLConnection con = new URL("https://" + ServerConstants.getSecureHostNamePort()).openConnection();