PVWA: "Access denied due to invalid credentials"
171
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:06 PM
Symptom
PVWA: "Access denied due to invalid credentials", when attempting to login to the PVWA via PKI / CAC
Environment
9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4 Password Vault Web Access Authentications
Cause
The cause is a malformed line in %systemroot%\inetsrv\applicationHost.config. The line that defines the PVWA:
<location path="Default Web Site/PasswordVault/api/auth/pkipn/logon">
<system.webServer>
<security>
<access sslFlags="SsL, SsLNegotiateCert, SslRequireCert" />
</security>
</system.webServer>
</location>
* Note the 'SsL, SsLNegotiateCert, SslRequireCert' which is incorrect
Resolution
- In %systemroot%\inetsrv\applicationHost.config, change 'SsL, SsLNegotiateCert, SslRequireCert' to 'Ssl, SslNegotiateCert, SslRequireCert' - in other words, 'L' should be lower case l.
- Restart IIS - open an elevated command prompt and type 'iisreset'