Changes to TLS library have improved error messages.
The test testEnrollUsingBasicAuthWrongUsage() in test/src/test/java/org/bouncycastle/test/est/TestEnroll.java
has been updated to reflect those changes.
@@ -2290,7 +2290,7 @@ public void testEnrollUsingBasicAuthWrongUsage()
// Non-ideal for testing but the TLS library emits errors that can not accidentally be printed to
// a web page and aid an attacker.
//
- Assert.assertTrue(t.getMessage().toLowerCase().contains("internal tls error"));
+ Assert.assertTrue(t.getMessage().toLowerCase().contains("certificate_unknown"));
}
finally
{
