PVWA - PKI Auth: After enabling, users encounter 403 error
171
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:00 PM
Symptom
After configuring the PVWA for PKI Auth, you encounter a 403 error. It could be either a 403.7 or a 403.16 depending on if SendTrustedIssuerList on the PVWA is enabled or not.
There error is detailed in this Microsoft KB article. https://support.microsoft.com/en-us/kb/2802568
Environment
11.5;11.6;11.7;12.0;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA
Cause
There is an Intermediate Certificate in the PVWA Root Certificate Store. The 403.16 error means the client certificate is not trusted. 403.7 means client certificate required.
Resolution
1. From an elevated PowerShell window, run the following command. The output of this command will be the certificates in the root certificate store for which the Issuer is different than the Subject.
Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Format-List * | Out-File "c:\computer_filtered.txt"
2. Find the certificate(s) flagged in the above command in the computer root certificate store on the PVWA. Export them if you require a backup and remove them from the root store. You may re-import them to the correct store later once you are certain which certificate store they belong.
3. Perform an iisreset and test.
Helpful clarifying note:
When opening up MMC and browsing to the Trusted Root Certification Store, you should look for the following visual clues:
1. A root certificate (or self-signed certificate) will have the same value defined in the "Issued To" and "Issued By" column.
2. A root certificate authority cannot be issued by another CA or else it would not be a root CA, it would be considered an intermediate CA.
If any certificates appear in the Trusted Root Certificate Authorities list with a different Issued To and Issued By value, then it is an intermediate or personal certificate and it cannot exist in the Trusted Root Certificate Store. Move those offending certs to the "Intermediate Certification Authority Store" or delete them entirely if they are not valid.
Most customers push root/intermediate certs to servers via group policy. After deleting/moving the offending certs, run a "gpupdate /force" on the PVWA server and check whether the certs come back. If they come back, request their group policy admins to clean up the certs being pushed by group policy to ensure they are pushed to the proper certificate stores.
Additional Information
Details
SYMPTOM:
After configuring the PVWA for PKI Auth, you encounter a 403 error. It could be either a 403.7 or a 403.16 depending on if SendTrustedIssuerList on the PVWA is enabled or not. There error is detailed in this Microsoft KB article. https://support.microsoft.com/en-us/kb/2802568
PROBLEM:
There is an Intermediate Certificate in the PVWA Root Certificate Store. The 403.16 error means the client certificate is not trusted. 403.7 means client certificate required.
SOLUTION:
1. From an elevated PowerShell window, run the following command. The output of this command will be the certificates in the root certificate store for which the Issuer is different than the Subject.Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Format-List * | Out-File "c:\computer_filtered.txt"
2. Find the certificate(s) flagged in the above command in the computer root certificate store on the PVWA. Export them if you require a backup and remove them from the root store. You may re-import them to the correct store later once you are certain which certificate store they belong.
3. Perform an iisreset and test.
Helpful clarifying note:
When opening up MMC and browsing to the Trusted Root Certification Store, you should look for the following visual clues:
1. A root certificate (or self-signed certificate) will have the same value defined in the "Issued To" and "Issued By" column.
2. A root certificate authority cannot be issued by another CA or else it would not be a root CA, it would be considered an intermediate CA.
If any certificates appear in the Trusted Root Certificate Authorities list with a different Issued To and Issued By value, then it is an intermediate or personal certificate and it cannot exist in the Trusted Root Certificate Store. Move those offending certs to the "Intermediate Certification Authority Store" or delete them entirely if they are not valid.
Most customers push root/intermediate certs to servers via group policy. After deleting/moving the offending certs, run a "gpupdate /force" on the PVWA server and check whether the certs come back. If they come back, request their group policy admins to clean up the certs being pushed by group policy to ensure they are pushed to the proper certificate stores.