Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10407

CertificateExpiredException in WS integration tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 13.0.0.Final
    • None
    • Web Services
    • None

      The following two WS tests started failing:

      EJBSignEncryptMultipleClientsTestCase.encryptedAndSignedRequestFromJohn
      SignEncryptMultipleClientsTestCase.encryptedAndSignedRequestFromJohn
      [ERROR] Tests run: 119, Failures: 0, Errors: 2, Skipped: 0

      The cause is:

      Caused by: org.apache.wss4j.common.ext.WSSecurityException: The provided certificate is invalid
      Original Exception was java.security.cert.CertificateExpiredException: NotAfter: Fri May 18 12:48:17 CEST 2018
      <------>at org.apache.wss4j.common.crypto.Merlin.verifyTrust(Merlin.java:760)
      <------>at org.apache.wss4j.common.crypto.Merlin.verifyTrust(Merlin.java:887)
      <------>at org.apache.wss4j.dom.validate.SignatureTrustValidator.verifyTrustInCerts(SignatureTrustValidator.java:109)
      <------>at org.apache.wss4j.dom.validate.SignatureTrustValidator.validate(SignatureTrustValidator.java:64)
      <------>at org.apache.wss4j.dom.processor.SignatureProcessor.handleToken(SignatureProcessor.java:192)
      <------>at org.apache.wss4j.dom.engine.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:340)
      <------>at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessageInternal(WSS4JInInterceptor.java:285)
      <------>... 56 more

              rsvoboda@redhat.com Rostislav Svoboda
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: