mxbuild failed to execute on jenkins pipeline

0
i have some issue while try to execute build mda file step on jenkins pipeline, the error is like this   mxbuild v10.18.3.58900 ERROR: Interop+Crypto+OpenSslCryptographicException: error:03000098:digital envelope routines::invalid digest   does anyone have been through this, have any insight?  
asked
1 answers
2

Hi Syariif,

 

I also found this issue in my Jenkins agent. I have updated the  Jenkins agent OS to Rocky Linux 9.6.

I suppose that you are using new OS (e.g Ubuntu 24, Debian 13, Rocky Linux 9/10). These new OS has bundled with new OpenSSL version 3.0++

 

The OpenSSL version 3.0++ has depecreated old SHA-1 Signature protocol since it is insecure protocol in modern days.

 

In this case, I solved this issue by adding this environment variable when run mxbuild. This allows MxBuild to download dependencies using SHA-1 signature to outbound endpoints.

 

OPENSSL_ENABLE_SHA1_SIGNATURES=1

 

Example

OPENSSL_ENABLE_SHA1_SIGNATURES=1 /home/rocky/mxbuild-10.24.4/modeler/mxbuild --target=package ...

 

I hope this helps you.

answered