a2a MODULE: cspminterface/scriptservice_unix.c FUNCTION: getScriptIdForUnix MESSAGE: Fail to generate hash
search cancel

a2a MODULE: cspminterface/scriptservice_unix.c FUNCTION: getScriptIdForUnix MESSAGE: Fail to generate hash

book

Article ID: 442362

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

Implementing a request to view secrets in Vaults via A2A  got a problem:

On the "prototype" Linux VM which has to receive secrets from PAM via A2A, when the PAM console sends requests to the A2A Agent for the hash of a script (for integrity checking purposes), the request fails and the following error is found in the logs:
MODULE: cspminterface/scriptservice_unix.c FUNCTION: getScriptIdForUnix MESSAGE: Fail to generate hash (see attached log)

Environment

CA PAM 4.2.3

Resolution

Things to check to fix the issue:

1) There is a mistake in the file name or file path, and the file is not found

2) The user running the A2A service does not have permission to read the file, which is needed to get a hash. 

3) Check that port 28888 for the A2A client is fully opened.