PSM - How to update Chrome
Objective
When updating the Chrome browser on a PSM, there are a handful of steps to take to ensure a smooth update, otherwise it is very common that all WebApp connectors will break and require troubleshooting.
Environment
11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM)
Procedure
NOTE: If using PSM v14+ and using domain PSMConnect and PSMAdminConnect users, you need to run hardening tasks from steps 7 and 8 with a bit different command details in this doc:
Step 1) Update Chrome browser, remember chrome should be a 32 bit version installed in the Program Files (x86) path.
Step 2) Download the latest chrome driver for your new version:
https://chromedriver.chromium.org/downloads
Step 3) Copy the chromedriver.exe to ...\PSM\Components, and overwrite the previous file. Ensure the exe is not blocked, by right-clicking the file and going to Properties. Under the Attributes section there is no warning that indicates the file came from another computer, and is blocked.
Step 4) Check the Marketplace to see if there are any newer versions of the Secure Web Application Connectors Framework. If there are, Download the latest and copy the zip to the PSM(s)
> https://community.cyberark.com/marketplace/s/#a3550000000EiCMAA0-a3950000000jjUwAAI
Step 5) Take a backup of the PSM's components folder, copy paste it to your desktop (just in case).
Step 6) Copy only the contents of the components folder from the downloaded file from the marketplace (only the components folder, we don't need any other folder contents). Copy these files to ...\PSM\Components and overwrite files if prompted.
Step 7) Open the ...\PSM\PSMHardening.ps1 script in a text editor, and check the value of $SUPPORT_WEB_APPLICATIONS. make sure it is set to: $true. If you made a change here, From Administrative Powershell, Run ...\PSM\Hardening\PSMHardening.PS1
Step 8) From Administrative Powershell, Run ...\PSM\Hardening\PSMConfigureAppLocker.PS1
Step 9) Test your connections from PVWA
***If still having issues, restart the PSM, hardening can often requires a reboot.
Note: There have been rare cases when after upgrading Chrome and following the instructions listed here, chrome is still having issues. As a last follow-up , Backup then delete the Chrome registry folder hkey_local_machine/software/policies/google/chrome
Then re run the chrome hardening from administrative CMD, from the ...\PSM\Hardening folder:
.\GroupPolicyLoader.exe machine PSMChromeHardening.csv PSMChromeHardening.log
This will recreate the registry entries.