$ mvn install
...
WARNING: Interceptor for {http://inbound.as4.oxalis.network/}As4ProviderService has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: A security error was encountered when verifying the message
at org.apache.cxf.ws.security.wss4j.WSS4JUtils.createSoapFault(WSS4JUtils.java:240)
...
Caused by: org.apache.wss4j.common.ext.WSSecurityException: The provided certificate is invalid
Original Exception was java.security.cert.CertificateExpiredException: certificate expired on 20240207133846GMT+00:00
at org.apache.wss4j.common.crypto.Merlin.verifyTrust(Merlin.java:779)
at org.apache.wss4j.common.crypto.Merlin.verifyTrust(Merlin.java:906)
at org.apache.wss4j.dom.validate.SignatureTrustValidator.verifyTrustInCerts(SignatureTrustValidator.java:109)
at org.apache.wss4j.dom.validate.SignatureTrustValidator.validate(SignatureTrustValidator.java:64)
...
[ERROR] Failures:
[ERROR] SendReceiveTest.full:101 » OxalisAs4Transmission Failed to send message
[INFO]
[ERROR] Tests run: 17, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
...
when building Oxalis-AS4 from source.
The expiration time matches those from a couple of .cer files in oxalis-test. I suspect they are somehow involved when running integrations tests against a local Oxalis instance. We get the same error in an integration test using an OxalisOutboundComponent against a more or less, factory default, local instance of Oxalis (in the same JUnit process).
I am getting:
when building Oxalis-AS4 from source. The expiration time matches those from a couple of .cer files in oxalis-test. I suspect they are somehow involved when running integrations tests against a local Oxalis instance. We get the same error in an integration test using an
OxalisOutboundComponent
against a more or less, factory default, local instance of Oxalis (in the same JUnit process).