PSM WebApp Connection Is Not Working - general error or timeout
Symptom
Connection components can fail when using Web applications with General error or showing a timeout when launching the CC.
The following errors can be found in the component logs on the PSM server:
• [sessionID].CLC32.log:
PSMCL004E Error opening the process (Error code 87).
• [sessionID].ClientDispatcher.log:
PSMDU018E Dispatcher error: [ConnectionComponentController :: PopUpErrorMessageBox -> Title="Error Occurred" Message="Refer to log for more information." Timeout=30 Subtitle="General error occurred"]
PSMDU018E Dispatcher error: [ConnectionComponentController :: PopUpErrorMessageBox -> Title="Error Occurred" Message="Failed to initialize web browser, The selected browser was not found. Validate that the browser is installed, excluded for the hardening and the parameter 'BrowserPath' is configured correctly.
Environment
10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Privileged Session Management (PSM) Component: PSM Functional Area: Other
Cause
Web applications or the right browser is not enabled in the hardening script, the connection component ClientApp value in PVWA or in the AppLocker rules.
Resolution
The PSMHardening.ps1 script will need to have $SUPPORT_WEB_APPLICATIONS set to true. You will first need to remove Applocker and then run the hardening script to make this change.
1. Remove Applocker
To disable the applocker follow these steps:
On the PSM server > Launch mmc File > then add-remove snap-in and select Group Policy Object for local computer. Once loaded under Console Root | Local Computer Policy | Computer Configuration | Windows Settings | Security Settings | Application Control Policies | AppLocker. Then remove all the rules necessary. You can make a backup of this file prior to removal.
2. Modify the PSMHardening.ps1 script
a. Set $SUPPORT_WEB_APPLICATIONS to true like so:
$SUPPORT_WEB_APPLICATIONS = $true
b. Re-run the hardening script
3. Test the connection
Verify that it works. If so, proceed to Step 4.
4. Re-apply AppLocker
Ensure that the Applocker rules are enabled for Chrome or Edge and the related drivers in the PSMConfigureAppLocker.xml:
<Application Name="GoogleChrome" Type="Exe" Path="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" Method="Publisher" />
<Application Name="Edge" Type="Exe" Path="C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" Method="Publisher" />
Application Name="chromedriver" Type="Exe" Path="C:\Program Files (x86)\CyberArk\PSM\Components\chromedriver.exe" Method="Hash" />
Application Name="edgedriver" Type="Exe" Path="C:\Program Files (x86)\CyberArk\PSM\Components\msedgedriver.exe" Method="Hash" />
------------------------------------------------------------------------------------------------
For additional information, please review the following Online Documentation below or search for "Configure PSM to connect to Web applications" in our Online Documentation:
- https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20INST/Install_ConfigurePSMServerMachineForWebApps.htm?Highlight=To%20Configure%20the%20PSM%20Server%20Machine%20for%20Web%20Applications