Signature error while uploading an RA solution using REST an option ignore_signature
search cancel

Signature error while uploading an RA solution using REST an option ignore_signature

book

Article ID: 384979

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Using the REST endpoint to upload an RA solution to the AE leads to an error regarding the signature.

The requests

  • POST http[s]://{host}:{port}/ae/api/v1/0/system/ra-solutions/0/system/ra-solutions/
  • POST http[s]://{host}:{port}/ae/api/v1/0/system/ra-solutions/0/system/ra-solutions/update

... containing the option 'ignore_signature, can lead to the following error:

{
    "code": 38204,
    "error": "The Signature of the given jar archive is not valid.",
    "details": "#38204"
}

Environment

v21.0 (later versions) or v24.x

Cause

Since the second half 2024 jar files are not signed anymore.

Resolution

The option is 'ignore_signature' which was previously documented is obsolete however it can still be used in earlier versions of 24.x and 21.0.x like this

curl --request POST --data-binary  @"/<path>/WebService_SOAP_solution.jar" -u "0/UC/UC:xxxxxxxxx" --header "Content-Type:application/octet-stream" https://aeserver.com/ae/api/v1/0/system/ra-solutions/upload -ignore_signature

Starting in AE v24.4.0 and v21.0.14 this option is ignored entirely. In lower versions, this option leads to an error with jar files published after June 2024.