mirror of https://github.com/shred/acme4j
Pebble: test authz deactivation
parent
3b2b9256a4
commit
1462dcb98e
|
@ -225,6 +225,12 @@ public class OrderIT extends PebbleITBase {
|
|||
assertThat(cert.getNotBefore(), not(nullValue()));
|
||||
assertThat(cert.getSubjectX500Principal().getName(), containsString("CN=" + domain));
|
||||
|
||||
for (Authorization auth : order.getAuthorizations()) {
|
||||
assertThat(auth.getStatus(), is(Status.VALID));
|
||||
auth.deactivate();
|
||||
assertThat(auth.getStatus(), is(Status.DEACTIVATED));
|
||||
}
|
||||
|
||||
revoker.revoke(session, certificate, keyPair, domainKeyPair);
|
||||
|
||||
// Make sure certificate is revoked
|
||||
|
|
Loading…
Reference in New Issue