Unable to enable SSL: Error: Cannot add duplicate collection entry of type 'binding'

Created:

2017-01-06 16:42:41 UTC

Modified:

2017-08-08 13:23:20 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Unable to enable SSL: Error: Cannot add duplicate collection entry of type 'binding'

Issue Symptoms

Can not apply SSL certificate. The following error occurs in Plesk:

Error: Filename: Error: Cannot add duplicate collection entry of type 'binding' with combined key attributes 'protocol, bindingInformation' respectively set to 'http, 10.10.10.10:80:www.example.com' In module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.IAppHostElementCollection.AddElement(IAppHostElement pElement, Int32 cPosition) at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.Add(T element) at Microsoft.Web.Administration.BindingCollection.Add(Binding binding) at IISWebSite.put_bindings(IISWebSite* , list<WebSiteBinding\,std::allocator >* bindings) at configHosting(example.com)(WebServerAdapter::configHosting line 511) at configHosting(example.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=tmpDEA8.tmp" "--config="(vconsoleapp::run line 117) (Error code 1)

Conditions

Alias with "www" was created.

Resolution

"www" alias creates by default in DNS and in IIS bindings. Hence, remove an unnecessary alias.

Have more questions? Submit a request
Please sign in to leave a comment.