PKI Authentication failure - Windows 2022 server

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

PKI Authentication failure - Windows 2022 server

Hi We are on 12.1 self hosted versions and panning for upgrade to 14.x. we are installing the 12.6 PVWA with new 2022 servers and only PKI Authentication is failing (403 Forbidden Displayed When Accessing ) and the same PKI working fine with the existing 2016 servers. Its a load balanced environment and SAML . Windows / CyberArk Authentication are working fine.

 

Validation done so far

 

  1. verified the application config file "applicationHost.config" have the PKI available
  2. Verified the ROOT certificate between the old vs new servers
  3. The TLS 1.3 enabled by default
  4. Validated the IIS settings and
  5. opened a case with CA support and couldn't figure out the issue since all the settings are accurate

 

any help would be greatly appreciated.

 

13 REPLIES 13

L4 Transporter

Hello,

The problem is the custom authentication dll and other configurations needed.

See Configure PKIPN in the modern UI section here - https://docs.cyberark.com/pam-self-hosted/latest/en/content/pas%20inst/pki-authentication-personal-certificate.htm

 

Note - when upgrading, the applicationhost file is not changed, but the custom auth dll will need to be overwritten with the new one.

L7 Applicator

Hi @Packiaraj Dhandapani​ 

 

One of the reason could be because Win server 2022 handles TLS and ciphers differently than Server 2016, which can impact client certificate negotiation.

 

Pl check enabled cipher suits on Win 2016 and 2022 server.

 

Also please check the entire PKI chain (Root CA, Intermediate CAs) is correctly installed in trusted stores on the new PVWA servers.

 

Please verify that all the steps are followed from this document https://docs.cyberark.com/pam-self-hosted/latest/en/content/pas%20inst/pki-authentication-personal-c...

 

Enable the debug and check the PVWA logs for more details.

 

Hope it helps !

@Malhar Vora​  Thank you for the response.

 

Since our current 2016 server shave 12.1 version, we tried install the same 12.1 on our 2022 servers as well and getting the similar error.

 

The approach we did. deployed 4 new servers with 2022, (total = 8 ( 4 os with 2016 servers + 4 OS 2022)

Created a new LB certificate with the all old + new servers IP / DNS name and updated the certificate in all 8 servers

 

 

  1. We did verify the cipher suits on the server between 2016 / 2022 . Uploaded the pic
  2. Disabled the TLS1.3 on 2022 server which was enabled by default
  3. The ROOT certificate was installed as expected - also tried to move the intermediate certificate on the cert store - got the same results
  4. Tried to repair the PVWA and installed with the Load balanced URL

 

IIS error logs

 

C:\inetpub\logs\LogFiles\xxxxxx

 

2025-12-06 16:40:19 127.0.0.1 POST /PasswordVault/Services/ScheduledTaskMgt.asmx - 443 - 127.0.0.1 Cyber-Ark+tasks+agent - 200 0 0 172

2025-12-06 16:40:24 127.0.0.1 POST /PasswordVault/Services/ScheduledTaskMgt.asmx - 443 - 127.0.0.1 Cyber-Ark+tasks+agent - 200 0 0 112

2025-12-06 16:40:26 10.x.x.144 GET /PasswordVault/ - 443 - 10.x.x.x Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/142.0.0.0+Safari/537.36+Edg/142.0.0.0 - 403 16 2148204809 6574

2025-12-06 16:40:26 10.x.x.144 GET /favicon.ico - 443 - 10.x.x.x. Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/142.0.0.0+Safari/537.36+Edg/142.0.0.0 https://xxxxxxx.ccc.local/PasswordVault/ 404 0 2 340

 

 

2016 vs 2022 Cipher.

 

068Vy000012Y7GvIAK.jpg 

any directions will be much appreciated .

 

-Packiaraj D

L3 Networker

Hi @Packiaraj Dhandapani​ ,

 

At which exact stage of the authentication process does it fail? Does your browser prompt you for a certificate, or does it fail without prompting?

You mentioned opening a support ticket. Have you uploaded logs there?

If possible, please share the case number so we can review it.

 

 

Eviatar

L7 Applicator

Hi @Packiaraj Dhandapani​ 

 

Can you please check whether 2022 server have outbound network access to reach the CRL URL of the PKI certs?

 

Also it seems to me that client cert is either untrusted or invalid.Can you please verify it?

Hello Eviator, it fails after authentication

 

  1. the browser prompting for the Cert,
  2. Able to enter the PIN and then authentication fails

 

case # 04113197

Hello,

Did you validate the custom PKIPN dll and is the dll not blocked?

 

CyberArk.Authentication.CustomPKIPN.dll is the name of the file and should be located in the PasswordVault\CustomAuthenticationDlls folder that you have to manually create. Right click the dll, select properties, and check if the file is Blocked and check the box to unblock if needed.

 

You have to expand the configure PKIPN in modern UI link to get the information here - https://docs.cyberark.com/pam-self-hosted/latest/en/content/pas%20inst/pki-authentication-personal-certificate.htm

 

 

 

L3 Networker

Hi @Packiaraj Dhandapani​ ,

 

I have reviewed the case, and it appears that the issue is occurring at the IIS level.

 

First, as my colleague mentioned, I recommend verifying that the server hosting PVWA can access your Domain CRL.

If there are no issues with the CRL, the next step would be to enable additional IIS debugging to gain a better understanding of the problem.

 

 

Eviatar

L4 Transporter

Hi @Packiaraj Dhandapani​ 

Several community members and experts' council member have shared answers to your question. Could you let us know if any of these resolved your issue?

If so, please mark the appropriate answer as “Select as Best” to help other members find the solution easily.

If the issue remains unresolved, I recommend submitting a ticket with our support team for further assistance.

Thank you,

Shaked

Hello Donovan,

 

Thank you. we did followed the steps and the file is not blocked. After the file addition we have two options PKI / PKIPN and both result in the same issue. we are working with our internal IIS team to validate further

Yes. Thank you. outbound to 3rd party certificate CRL URL is allowed through our firewall policy

Sure . We have submitted another case to troubleshoot further and will be working with our internal teams as well

L4 Transporter

Hello,

Review the Trusted Root Certification Authorities store for the Local Machine and verify if any certificates are installed that are not self-signed. If you have any certificates that are not self-signed, they could be causing the problem. If there are any, export them first for a backup then delete them. After deleting any certificates in the Trusted Root CA store for Local Machine restart IIS and test again.

  • 348 Views
  • 13 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!