Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oxalis Setup - Build Failure Due to InvalidKeyException (SHA-1 Digest Algorithm) #710

Open
senthil-develop opened this issue Feb 28, 2025 · 3 comments

Comments

@senthil-develop
Copy link

I attempted to set up Oxalis WAR on my machine with the following configurations:

Java Version: 11.0.22 (Azul Systems)
Maven Version: Apache Maven 3.9.9
OXALIS_HOME: /Users/{user_name}/newDeps/oxalis

I followed the installation guide, including:

  1. Setting up the KeyStore and PEPPOL Test Certificate in the root directory.
  2. Running mvn clean install -Pdist as mentioned in the README.

However, the build failed with the following error in the Oxalis :: Leg :: Statistics module

Logs

testSigning
java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size
at java.base/sun.security.provider.DSA.checkKey(DSA.java:124)
at java.base/sun.security.provider.DSA.engineInitSign(DSA.java:156)
at java.base/java.security.Signature$Delegate.tryOperation(Signature.java:1308)
at java.base/java.security.Signature$Delegate.chooseProvider(Signature.java:1257)
at java.base/java.security.Signature$Delegate.engineInitSign(Signature.java:1354)
at java.base/java.security.Signature.initSign(Signature.java:636)
at network.oxalis.statistics.security.SignatureTest.testSigning(SignatureTest.java:57)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

Any Idea on how to fix this Issue

@aaron-kumar

@aaron-kumar
Copy link
Member

aaron-kumar commented Feb 28, 2025

@senthil-develop : Could you please provide a specific reason for creating the artifacts yourself? Why are you not utilizing the released version available here: https://github.com/OxalisCommunity/oxalis/releases (refer to the Assets section)?

Furthermore, I have reviewed the latest master build, and it passes without any errors. However, upon inspecting individual tests, I observed that one test is failing, though it does not cause the build to fail. You can safely disregard this test, as it pertains to legacy functionality that is no longer in use.

@senthil-develop
Copy link
Author

Hi @aaron-kumar,

I followed the ReadMe file and set up Oxalis accordingly.

https://github.com/OxalisCommunity/oxalis

Is there any technical documentation that explains the complete working of Oxalis?

It would be really helpful for me to get a better understanding of Oxalis and to incorporate it properly into my setup.

Additionally, I would like to incorporate AS4 implementation into it, as AS4 seems to be the current standard messaging protocol in PEPPOL.

@senthil-develop
Copy link
Author

I believe the Oxalis /status call will return a 404 response even if everything is properly configured, as there is no index page available for that endpoint.

Image Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants