PVWA – Site Binding Error: There Was An Error While Performing This Operation
Symptom
An error occurs when attempting to associate new PVWA certificate in IIS Manager > {ServerName} > Sites > Default Web Site > Site Bindings > Edit (https)
Error: There was an error while performing this operation
Details: A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520)
Environment
Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
Cause
This issue is not inherent to the Idira application, but with the keyset being read by Windows IIS Manager. Idira relies upon the Windows product working as expected.
Resolution
As this issue is not a Idira specific issue, but related to a Windows IIS Manager process, the below solution is provided as a best effort courtesy. It is recommended for customers to seek assistance from relevant internal Windows, Certificate, and/or IIS teams and follow-up directly with Microsoft Support if issues persist.
1. Ensure you have a backup of the .pfx containing the certificate
2. Remove any reference to the non-working certificate from IIS Manager > {ServerName} > Server Certificates, and close IIS Manager
3. Remove any reference to the same certificate from certlm.msc (Certificate Manager Snap-In)
4. Use the Import Wizard to install the .pfx to the Local Computer > Personal > Certificates
5. Open IIS Manager > {ServerName} > Server Certificates and the new certificate should appear
6. Open IIS Manager > {ServerName} > Sites > Default Web Site > Site Bindings > Edit (https) to select the new PVWA certificate