mirror of https://github.com/shred/acme4j
Relax check of cert principal name
parent
4699565471
commit
ee0f98eedb
|
@ -183,7 +183,7 @@ public class OrderIT extends PebbleITBase {
|
||||||
assertThat(cert, not(nullValue()));
|
assertThat(cert, not(nullValue()));
|
||||||
assertThat(cert.getNotAfter(), not(nullValue()));
|
assertThat(cert.getNotAfter(), not(nullValue()));
|
||||||
assertThat(cert.getNotBefore(), not(nullValue()));
|
assertThat(cert.getNotBefore(), not(nullValue()));
|
||||||
assertThat(cert.getSubjectX500Principal().getName(), is("CN=" + domain));
|
assertThat(cert.getSubjectX500Principal().getName(), containsString("CN=" + domain));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue