SIA with Self-Hosted Vault - Configure Identity JWT Token Validation in PVWA

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

Secure Infrastructure Access
3 min read
L0 Member
No ratings

The following document describes how to integrate SIA with a Self-Hosted Vault-

Integrate with Secure Infrastructure Access

 

Under the following section 'Configure the PVWA to integrate with SIA' we are instructed to validate the end user's JWT token in Idira Identity for security best practices.

 

Below are the steps to find the exact information int he customer Identity ISPSS tenant so that they can be configured in PVWA.

 

Note 1- This feature is only supported in PVWA 14.4 and above.

Note 2- The PVWA requires connectivity to the internet. Alternatively, configure a proxy that allows it that connection. Proxy can be configured at the last step.

Steps

Step 1

In PVWA go to:


Administration> Configuration Options > Options > ExternalServices >  IdentitySIA.

Note- If ExternalServices does not exist, right-click Configurations and select Add ExternalServices.

ka3Vy000009TFL3IAO__eid=ka3Vy000009TFL3&feoid=00N2J000009R3kv&refid=0EMVy00000bS8lL.png

Then right-click ExternalServices and select Add IdentitySIA.

ka3Vy000009TFL3IAO__eid=ka3Vy000009TFL3&feoid=00N2J000009R3kv&refid=0EMVy00000bTT2v.png

 

Step 2

Open the Identity tenant in a new tab or browser window.

In Identity go to:

Waffle Button > Identity Administration > Apps & Widgets > Web Apps


ka3Vy000009TFL3IAO__eid=ka3Vy000009TFL3&feoid=00N2J000009R3kv&refid=0EMVy00000bSivH.pngka3Vy000009TFL3IAO__eid=ka3Vy000009TFL3&feoid=00N2J000009R3kv&refid=0EMVy00000bTWX3.png

Select the built-in web app "Idira OIDC Trust App" and copy two values from the app configuration data- 

 

  1. From the Settings tab, copy the Application ID. It should be "__idaptive_cybr_user_oidc"
    ka3Vy000009TFL3IAO__eid=ka3Vy000009TFL3&feoid=00N2J000009R3kv&refid=0EMVy00000bSQWz.png

  2. From the Trust tab, copy the OpenID Connect metadata URL up to and including .cloud. It should be something like "https://abx1234.id.cyberark.cloud"
    ka3Vy000009TFL3IAO__eid=ka3Vy000009TFL3&feoid=00N2J000009R3kv&refid=0EMVy00000bSvu7.png

Step 3

Go back to PVWA and set the following:

 

ParameterValue
OptionalJWTValidationYes
IdentityAddressThe address copied from the Identity web-appv (example- https://abx1234.id.cyberark.cloud)
IdentityAppNameThe App ID copied from the Identity web-app (example- __idaptive_cybr_user_oidc)

 

If a proxy is used to connect the PVWA server to the internet, set the proxy configuration in the proxy parameters per the official document linked at the top of this article (UseProxy, ProxyHost, ProxyPort).

Apply and save the configuration.

Note- For testing phase only, you can set the parameter 'OptionalJWTVali)dation' to 'No' and JWT validation will be skipped.

 

Troubleshooting

To trouble shoot this feature, first enable trace level debug in PVWA, this level of debug is not enabled from the PVWA Web UI, but from adding a key in the PVWA web.config, default path "C:\inetpub\wwwroot\PasswordVault\web.config"

Edit the file and find the end of the AppSettings tag i.e. </appSettings> and add the following line above it:

    <add key="FullDebugMode" value="yes" />

The save the file and perform an IISRESET from an administrator command prompt window.

Example of web.config:
ka3Vy000009TFL3IAO__eid=ka3Vy000009TFL3&feoid=00N2J000009R3kv&refid=0EMVy00000bTtlN.png

Note- If testing against a load balanced environment, this must be done on all PVWA's in the pool that the session might go to.

After adding this debug level, and repeating the test session, we will see a new file in the PVWA logs folder (Default path: C:\Windows\Temp\PVWA) labeled "CyberArk.FullDebug.log"

Open this file and search for lines regarding JWT Token Validation.

 

For example the request below failed due to an incorrect application address (tenant address was entered instead of application URL):
---

| PASWS001E Error occurred: Failed to send the request

| CyberArk.PasswordVault.WebServices.Infra.Exceptions.SiaRequestException: Failed to send the request ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond x.x.x.x:443

.

.

.
at CyberArk.PasswordVault.WebServices.Infra.Filters.CloudServicesAuthorizationAttribute.ValidateJwtToken(HttpClient client, String url, Dictionary`2 requestContent)

---

 

Reminder: When troubleshooting is complete, do not forget to remove the debug level key from web.config and perform another IISRESET.

Rate this article:
  • 672 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎11-05-2026 11:47 AM
Updated by: