SSL Replacement Errors

Plesk Servers > SSL
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( line 511) at 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:
  1. Navigate to your Command Prompt, by hitting the start menu, and typing CMD.
  2. Type  CD %plesk_cli%. This will move you to the Plesk command line directory.
  3. Once there, type repair  --reconfigure-ssl-certificates. The prompt will say it's reinstalling certificates.
  4. 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.

Add Feedback