When replacing a SSL certificate on a server, you may encounter an error within Plesk. The error will read similar to this:
Error: A specified logon session does not exist. It may already have been terminated. (Exception from HRESULT: 0x80070520) In Microsoft.Web.Administration module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.IAppHostMethodInstance.Execute() at Microsoft.Web.Administration.BindingManager.Save() at Microsoft.Web.Administration.ServerManager.CommitChanges() at ServerManagerFactory.commit() at IISServerManager.commit(IISServerManager* ) at Commit common changes(WebServerAdapter::configHosting line 407) at configHosting(domain.com)(WebServerAdapter::configHosting line 511) at configHosting(domain.com)(WebServerManager::configHosting line 3558) at execute console command --reconfigure-vhost(vconsoleapp::start line 100) at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin64\websrvmng.exe" --reconfigure-vhost "--vhost-config=tmp9AE9.tmp" "--config=<update><ssl/></update>"(vconsoleapp::run line 117) (Error code 1)
A quick fix for this is to:
- Navigate to your Command Prompt, by hitting the start menu, and typing CMD.
- Type CD %plesk_cli%. This will move you to the Plesk command line directory.
- Once there, type repair --reconfigure-ssl-certificates. The prompt will say it's reinstalling certificates.
- Once it is done running, you can verify that Plesk is working as intended, and close the Command Prompt.
Note: You may have to repeat this process every time you attempt to replace a SSL certificate.
Article ID: 2443, Created: August 28, 2016 at 9:16 PM, Modified: August 29, 2016 at 1:21 PM