- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-23-2026 12:33 PM
Deploying CyberArk Central Credential Provider (CCP) on Windows Server 2022 brings some modern security defaults that, ironically, can break traditional IIS client certificate authentication.
I recently integrated a new CCP node into a load-balanced environment. While the installation was standard, the OS-level changes in Server 2022 threw a few curveballs. Here’s a technical deep dive into the issues and the exact commands I used to fix them.
1. The TLS 1.3 Handshake Deadlock
On Windows Server 2022, TLS 1.3 is enabled by default. However, TLS 1.3 removed the "renegotiation" mechanism that IIS traditionally uses to request a client certificate. This often results in a generic "Connection Reset" before the user even sees a certificate prompt.
The Fix: To maintain compatibility with IIS client cert auth, you need to force the server to use TLS 1.2 for the Web Service. I used the following registry commands to disable TLS 1.3 for the Schannel provider:
# Disable TLS 1.3 Server-Side
New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server" -Force
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server" -Name "Enabled" -Value 0 -PropertyType DWord
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Server" -Name "DisabledByDefault" -Value 1 -PropertyType DWord
# Restart the server for changes to take effect
Restart-Computer
2. Solving the 403.16 "Untrusted Root" Mystery
After fixing TLS, you might hit a 403.16 - Client certificate is untrusted or invalid error. This usually happens when the IIS trust store is "polluted" with non-self-signed certificates in the Trusted Root container.
The Fix:
You can identify these "intruder" certificates using PowerShell. Any certificate in the Root store that isn't self-signed (where Issuer is not equal to Subject) will break the chain:
# Find non-self-signed certificates in the Root store
Get-Childitem cert:\LocalMachine\root -Recurse |
Where-Object {$_.Issuer -ne $_.Subject} |
Format-List FriendlyName, Subject, Issuer, Thumbprint
Resolution: Move any identified intermediate certificates to the Intermediate Certification Authorities store. Windows certificate chain building logic expects a clean separation between Root and Intermediate stores. Misplacement can cause chain validation to fail even if the certificate appears trusted.
3. Generating SAN CSRs via CLI
When deploying behind a Load Balancer, your certificate needs a Subject Alternative Name (SAN). Since the IIS GUI is limited, I recommend using a request.inf file and certreq to generate the CSR:
Create request.inf:
[NewRequest]
Subject = "CN=ccp-lb.yourdomain.com, OU=Security, O=YourOrg, L=Calgary, S=Alberta, C=CA"
Exportable = TRUE
KeyLength = 2048
MachineKeySet = TRUE
[Extensions]
2.5.29.17 = "{text}dns=ccp-lb.yourdomain.com&dns=ccp01.yourdomain.com"
Generate CSR:
certreq -new request.inf request.csr
4. End-to-End Validation
Once configured, verify the credential retrieval using PowerShell. This bypasses browser caching and gives you raw visibility into the handshake:
# Load the client certificate from the local store
$cert = Get-ChildItem Cert:\LocalMachine\My | Where-Object { $_.Thumbprint -eq "YOUR_CERT_THUMBPRINT" }
# Test the AIM Web Service API
$url = "https://<CCP_LB_URL>/AIMWebService/api/Accounts?AppId=<AppID>&Object=<ObjectName>"
$response = Invoke-WebRequest -Uri $url -Certificate $cert
$response.Content
Final Thoughts
The move to Windows Server 2022 requires more than just "Next -> Next -> Finish." If you are migrating from Server 2019, account for the protocol shifts in Schannel and maintain strict PKI hygiene in your certificate stores.
If you are seeing CERT_E_UNTRUSTEDROOT or protocol resets, start with the TLS registry keys and the Root store audit script above. It’ll save you hours of debugging.
Security hardening at the protocol layer (like TLS 1.3 adoption) can surface hidden dependencies in legacy authentication flows. Always validate authentication models during OS upgrades — not just connectivity.
#CyberSecurity #IAM #CyberArk #WindowsServer2022 #PKI #IdentitySecurity
06-04-2026 11:38 AM
@sanjay sah I am using Cert Based authentication in Windows 2022, i am getting error "Request aborted. Could not create SSL/TLS Secure channel"
I have checked "Disable TLS 1.3 over TCP" under IIS. Anything else i need to do to make it work.
06-04-2026 11:43 AM
Well that should not be the reason as I never touched those part while configuring as I didn't had to touch. Did you configure IIS with Certificate in order to authenticate client properly?
06-04-2026 11:56 AM
Follow this one. if you cannot get it then let me know. Make sure you do not install cert in CCP server because this video shows you to install and that is optional.
06-05-2026 11:03 AM
@sanjay sah Same config is working on Windows Server 2019 but on 2022 its failing, anything that you can suggest?
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!

