Misleading / wrong certificate error in JWP logs using valid UC_AGENT_TLS_SETTINGS parameters
search cancel

Misleading / wrong certificate error in JWP logs using valid UC_AGENT_TLS_SETTINGS parameters

book

Article ID: 282525

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Setting UC_AGENT_TLS_SETTINGS with valid settings and values for AGENT_CERTIFICATE_END_SPREAD and AGENT_CERTIFICATE_VALIDITY_DAYS causes the error in the JWP logs as below:

U00029420 Invalid certificate configuration for 'ENGINECERTIFICATEDURATIONINSECONDS': '-1'. The default value '-1' is used instead.

The error should not occur using correct values,  as the occurrence of the error could be misleading and implies to users their certificate is incorrect.

Environment

21.x

Cause

Known defect.

Resolution

This is a known issue and the wrong/misleading error will and it has been fixed on V 21.0.12 and above versions of AE

Kindly upgrade to the fixed version 21.0.12 or any latest avalible versions of AE

Additional Information

Steps to reproduce:

  • Create UC_AGENT_TLS_SETTINGS with 2 settings
  • AGENT_CERTIFICATE_END_SPREAD = 0,1 0.1, 0.02 and 0,2 (tried all of this values)
  • AGENT_CERTIFICATE_VALIDITY_DAYS = 7200 (Tried smaller values as well)
  • Restart JWP
  • Check JWP log and will see the error below:
    •  U00029420 Invalid certificate configuration for 'ENGINECERTIFICATEDURATIONINSECONDS': '-1'. The default value '-1' is used instead.
    •  U00029413 Certificate will be renewed on 2043-03-30 14:00:11 UTC.

 

After upgrading the AE to the fixed version V 21.0.12 or  higher version of AE , the wrong / misleading error will no longer occur if correct values / settings are used for AGENT_CERTIFICATE_END_SPREAD and AGENT_CERTIFICATE_VALIDITY_DAYS  in UC_AGENT_TLS_SETTINGS .