PVWA - LDAP Authentication on PVWA failure due to expired certificate - ITALD002E
132
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:02 PM
Symptom
Vault italog.log file shows the below error during LDAP Authentication failure in PVWA:
ITALD002E Failed to perform LDAP operation. (Reason: Connection failed to all hosts of "<host_name>" LDAP directory (Last host name: <host_name>, Last LDAP error: Server Down, Code: 81)
ITALD001E Failed to initialize LDAP module. (Reason: Connection failed to all hosts of "<host_name>" LDAP directory (Last host name: <host_name>, Last LDAP error: Server Down, Code: 81)
Looking at the Event Viewer System logs from the Vault we can see error entries like this:
The certificate received from the remote server has either expired or is not yet valid. The TLS connection request has failed. The attached data contains the server certificate.
The event ID for this is 36881
Environment
10.0;11;12.0;14.2;14.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
Password Vault Web Access - All
Vault - 10.x, 11.x, 12.x
Cause
There are expired certificates on the DC which need to be renewed.
Resolution
The Details tab of the error event, both in Friendly View and XML View has a <Binary> entry where one can export the certificate from the value of <Binary> using a script.ps1 file with the content as below.
Replace the value of binary in the script with the actual value of <Binary> accordingly and then run the script in PowerShell.
Then you can open the certificate EventCert.cer created on the Desktop location to check the expiry date and take the steps to renew the certificate on the DC.
[System.IO.File]::WriteAllBytes("$env:USERPROFILE\desktop\EventCert.cer",
(
"value of binary" -split '(..)' |
Where-Object {$_} | ForEach-Object {
[system.convert]::ToByte($_,16)
}
)
)
(
"value of binary" -split '(..)' |
Where-Object {$_} | ForEach-Object {
[system.convert]::ToByte($_,16)
}
)
)