- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
08-30-2022 09:26 AM
Hi,
I am trying to install PSMP for SSH onto RHEL 8, using the following guide mentioned here:
I am stuck at the "Create the Credentials File for Installation". Does the user have have a specific username or is it arbitrary?
Tried installing without doing this (thought this may not be mandatory as I didn't know if there was a specific username to use) and got the following error:
rpm -i -v -h CARKpsmp-12.06.0.26.x86_64.rpm
warning: CARKpsmp-12.06.0.26.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 08beaa44: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Installation process is starting...
Credential file [/opt/CARKpsmp/user.cred] doesn't exist.
error: %prein(CARKpsmp-12.06.0-26.x86_64) scriptlet failed, exit status 1
error: CARKpsmp-12.06.0-26.x86_64: install failed
Background: I have PSMP for SSH installed already on Centos 7 and trying to upgrade the PSMP to the latest version now on RHEL 8.
Thanks,
Areez
08-30-2022 11:39 AM
@Areez Lalani
it should be the user you created to perform the install process, as described in this section of the docs: https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20INST/Before-Installing-PSMP.htm?tocpath=Installation%7CInstall%20PAM%20-%20Self-Hosted%7CInstall%20PSM%20for%20SSH%7C_____1#InstallPSMforSSH
it's the creds for the user to perform the actual install, so it's mandatory.
-Matt
08-30-2022 01:37 PM
Hi Matt,
Thanks for you feedback.
So if I understand correctly, I need to create any arbitrary local account with admin privileges which would be used in the install process. Do I have to necessarily login or su to this user or can another admin account be used to run the actual install command? i.e rpm -i -v -h CARKpsmp-12.06.0.26.x86_64.rpm. Assuming the user that performs the actual install would be a service account and not a user account. Am I correct?
Areez
08-31-2022 05:47 AM
This is not a process I've gone through, so I'd just suggest doing it yourself to see how it goes, but you def need a user to run the install.
-Matt
08-31-2022 06:38 AM
"I am stuck at the "Create the Credentials File for Installation". Does the user have have a specific username or is it arbitrary?"
It can be any account in the Vault (*not* a local OS account!), as long as it has "Vault Admins" group membership in the Vault and is in the Root location. This credential will only be used during the installation of PSMP (or upgrades of PSMP).
Based on this line ("Credential file [/opt/CARKpsmp/user.cred] doesn't exist."), it looks like you put the credential file into /opt/CARKpsmp/. The cred file usually is put into a temporary directory (user's home dir, or /var/tmp/). This also means that the "InstallationFolder" parameter in the /var/tmp/psmpparms file (which are created by you) needs to point the location of the install files (vault.ini, CreateCredFile, CARKpsmp-*.x86_64.rpm) and not the location of where you want to install PSMP to.
08-31-2022 07:42 AM
@Bernhard Brückler
Thank you for clearing up the user account confusion.
Regarding the location of the "InstallationFolder" parameter, I have been following the documentation at:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20INST/Before-Installing-PSMP.htm?tocpath=Installation%7CInstall%20PAM%20-%20Self-Hosted%7CInstall%20PSM%20for%20SSH%7C_____1
This guide mentions the following: "On the PSM for SSH machine, create a new directory for the installation files. This directory is where the installation files will be located, for example /opt/CARKpsmp"
There is only mention of the psmpparms file to be placed in /var/tmp folder. So if I place all the files you have mentioned in the /var/tmp folder, is the default location for the PSMP install at /opt/CARKpsmp?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

