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

You are implementing a request to view secrets in Vaults via A2A and 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

Cause

CA PAM do not print a message when the file is not found. 

Resolution

There are two possible causes and resolutions: There is a mistake in the file name or file path, and the file is not found, or the user running the A2A service does not have permission to read the file, which is needed to get a hash.