Identity/WPM Integration with PAM Self-Hosted

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Identity/WPM Integration with PAM Self-Hosted

L1 Bithead

Hello,

 

We recently integrated the WPM with our PAM Self-Hosted following the below documentation. We didn't get any errors when running the scripts.

 

Integrate Workforce Password Management with Privileged Access Manager - Self-Hosted | CyberArk Docs

 

However, when we try to create a password in WPM, we get the following error:

 

On the WPM Portal:

Error Service user is missing in PAS

 

On the Identity Connector log.txt:

 

|DEBUG] ApiProxyCloudRpc: Executing Web Api Proxy request for https://PVWA_LoadBalancer_URL/PasswordVault/api/Users?search=service_user$

|DEBUG] ApiProxyCloudRpc:ExecuteWebRequest: Finished

|DEBUG] RpcHostEndpointRegistrar: RPC exception being returned to caller for IFace: Idaptive.Cloud.Core.Interfaces.IOnPremApiProxyService, Idaptive.Cloud.Core.Interfaces Method: ExecuteWebRequest => System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.

 

For the error on the WPM site, the user indeed exists on the self-hosted vault with the permissions suggested in the documentation, we had to create the user manually on the WPM tenant and made sure that the passwords match and for the error on the actual Identity Connector Logs, I did some research about the error "Authentication failed because the remote party has closed the transport stream." and almost all of the threads point to a .NetFramework issue, but I checked the version, and it is 4.8xxx and it is configured to use TLS 1.2.

 

Anyone came across this issue before?

 

Thank you,

Douglas Galan

3 REPLIES 3

L4 Transporter

Hi @Douglas Galan​, if you're still experiencing an issue with this, check the service user in WPM and ensure everything is there. If everything looks accurate, then I'd raise a Support case to troubleshoot with us.

L1 Bithead

Hello,

 

We were able to fix the issue by applying the changes mentioned in the below article. We configured the Identity Connector to use a web-proxy, however, it was sending local traffic through the web-proxy as well and that was the issue. The identity connector was going through the web-proxy when trying to reach out the PVWA URL to authenticate the service user. To overcome this issue, we had to apply the changes mentioned in the below article. CyberArk should update the Implementation Documentation and add those steps below and also, the below article should be updated and include the error codes because I didn't know whether those changes applied to us or not based on the errors we were seeing in the logs.

 

CyberArk Identity Connector Web-Proxy WPM Integration for Self hosted Pas

 

CyberArk Identity Connector Web-Proxy WPM Integration for Self hosted Pas

17-May-2023•Knowledge Article

Article Total View Count341

Article Number000031107

TitleCyberArk Identity Connector Web-Proxy WPM Integration for Self hosted Pas

IntroductionWhen adding a Code Sample, please choose the 'Normal (DIV)' formatting, in order to avoid text glitch over the page borders

If you instruct the Identity connector to direct web traffic to a web proxy, it also seems to redirect local traffic to the same proxy. This creates an issue as it disrupts the functionality of WPM. As a result, customers cannot access PVWA (Privileged Vault Web Access) through the web because it is not accessible via the proxy.

Step-by-step instructionsWhen adding a Code Sample, please choose the 'Normal (DIV)' formatting, in order to avoid text glitch over the page borders

1. You will need to add 2 registry key/value in the machine running connector. Go to the Windows menu, type “regedit” then hit enter to run registry editor. Navigate to path “HKTY_LOCAL_MACHINE/SOFTWARE/Idaptive/Cloud”. Add the following new key/values:

WebProxy.SetViaIE set to 0 - (DWORD type, leave the default value 0 which is what we want)

WebProxy.SetSystemDotNet set to 0 - (DWORD type, leave the default value 0 which is what we want)

2. Update Group Policy of the machine running connector. Go to Windows menu and type “group policy” then select the item “Edit Group Policy”. Navigate to “Computer Configuration/Administrative Templates/Windows Components/Internet Explorer” and locate the item “Make proxy settings per-machine (rather than per-user)” from the right side details panel. Right click on it and select “Edit”. Select the option using radio button “Enabled” then click “OK” to save.

3. Update the Internet Options of the machine running connector. Go to Windows menu, type “Internet Options” and select the Internet Option. Go to the “Connections” tab then click the “LAN Settings”. The configured proxy server should show in the pop up window. Click the “Advanced” button then modify the bypass in the dialog “Proxy Settings”. In the “Exceptions” section, add the address(es) that needs to be bypassed by the Identity connector. Try to include the scheme, for example, https://vault-app-host-onprem.com or http://vault-app-host-onprem.com. Then click “OK” to save the settings. Double check the settings again to make sure it is saved.

4. Re-start the Identity connector when possible.

Related Versions23.4

ProductIdentity

ComponentConnector;App Access Service

URL NameCyberArk-Identity-Connector-Web-Proxy-WPM-Integration-for-Self-hosted-Pas

Article Record TypeHow To

 

L4 Transporter

Thanks for the response, @Douglas Galan​. I'll share this feedback. 

  • 607 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!