An HTTP job fails in AutoSys with the following error in the agent log or autosyslog output:
Request execution failure because of an SSLHandshakeException Exceptionjavax.net.ssl.SSLHandshakeException: Certificate chaining errorCaused by: sun.security.validator.ValidatorException: Certificate chaining errorHTTP Request failed. Reason: Status Text(SSLHandshakeException:Certificate chaining error). Status Code(-1).
Other HTTP jobs running on the same agent to different endpoints may succeed (e.g., returning Code:200 Status: OK).
The Workload Automation Agent's Java runtime environment (JRE) does not trust the SSL/TLS certificate chain provided by the target HTTP endpoint. This typically occurs because the root or intermediate CA certificates are missing from the agent's Java keystore (cacerts).
To resolve this issue, configure the agent to automatically accept and import new CA certificates by modifying the agent parameters.
agentparm.txt file.If security policies prevent automatic certificate acceptance, manually import the certificate using the Java keytool utility:
.cer or .pem) from the target URL.jre/bin directory. For example: