Relax check of cert principal name

pull/55/head
Richard Körber 2017-12-20 22:04:02 +01:00
parent 4699565471
commit ee0f98eedb
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ public class OrderIT extends PebbleITBase {
assertThat(cert, not(nullValue()));
assertThat(cert.getNotAfter(), not(nullValue()));
assertThat(cert.getNotBefore(), not(nullValue()));
assertThat(cert.getSubjectX500Principal().getName(), is("CN=" + domain));
assertThat(cert.getSubjectX500Principal().getName(), containsString("CN=" + domain));
}
/**