• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Let´s Encrypt error on certificate renewal

Arvi Saluste

New Pleskian
Hello community,

I have been having a problem updating the let's encrypt certificates. I get a error when I press "Renew" or when the scheduled task tries to renews the certificate. After witch the https binding is removed from the IIS.

When I now press "Install" on the Let's Encrypt extension then it completes successfully and a new https binding is added.

The problem seams to be on the old certificate removal part. Haven't found any information on how to fix the error on windows side.

Is it possible to disable the certificate removal in the Let's Encrypt Extension? On re installation the old certificate remain with the new one and everything works.

renew.jpg

Error: Let's Encrypt SSL certificate installation failed: Remove certificate failure: 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.Binding.AddSslCertificate(Byte[] certificateHash, String certificateStoreName)

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 354)
at configHosting(cdn4.hiir.net)(WebServerAdapter::configHosting line 483)
at configHosting(cdn4.hiir.net)(WebServerManager::configHosting line 3034)
at execute console command --reconfigure-vhost(vconsoleapp::start line 122)
at execute C:\Parallels\Plesk\admin\bin64\websrvmng --reconfigure-vhost "--vhost-config=tmp83BF.tmp" "--config=<update><bindings/></update>"(vconsoleapp::run line 139)
(Error code 1)

error.jpg


sucess.jpg
 
This problem may occur when an SSL certificate is not enabled on a domain in IIS (IIS->Certificate) for some reasons, but SSL is enabled in Plesk
 
Back
Top