User has verified that the user and password used to create the .dfo file; by using svrenc -f command, are correct but, when using the Harvest command line with the -eh or -er options, errors like the following are seen:
On Windows: "ERROR: Unable to open file: <encrypted file name> On UNIX: "E0302014b: Incorrect login. Please try again."
Harvest Software Change Manager all versions
The Harvest command line with the -eh or -er options expects one or other of the following to be true:
hco -b ... -eh "C:\Program Files\CA\scm\demo.dfo"
When running the Harvest command line in a multiplatform environment, for example, Broker on Solaris, Agents on AIX and HP/UX, Command Line client on Linux and Windows GUI clients, it is a good practice to generate the .dfo file locally on each platform separately, e.g. if a user wants to run the 'hco' command from the Solaris Broker box and Linux client box against a HP/UX agent, it is recommended to run "svrenc -f" individually on both Solaris and Linux to generate two .dfo files for these two different platforms.
Details on the -eh and -er options for command line utilities are found here: Getting Started with CA Harvest SCM Commands - User Credentials
Details on the svrenc command are found here: svrenc Command-Encrypt User and Password Credentials to a File