java.lang.AssertionError

Authentication failed when it should have succeeded: Certificate keyUsage constraint forbids SSL client authentication.

Samebug tips1

Check your pattern declaration or check your assert declaration.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2357

  • via GitHub by mmoayyed
    , 5 months ago
    Authentication failed when it should have succeeded: Certificate keyUsage constraint forbids SSL client authentication.
  • via GitHub by wildfly-ci
    , 1 year ago
    Authentication should fail
  • via GitHub by wildfly-ci
    , 1 year ago
    Authentication should fail
  • Stack trace

    • java.lang.AssertionError: Authentication failed when it should have succeeded: Certificate keyUsage constraint forbids SSL client authentication. at org.junit.Assert.fail(Assert.java:88) at org.apereo.cas.adaptors.x509.authentication.handler.support.X509CredentialsAuthenticationHandlerTests.verifyAuthenticate(X509CredentialsAuthenticationHandlerTests.java:242)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 1 week ago
    Once, 2 weeks ago
    8 times, 2 months ago
    2 times, 2 months ago
    2 times, 3 months ago
    98 more bugmates