CEM fails to create the Symantec Agent Website. Configuration of the IIS Website for Cloud-enabled management agent connection failed. See logs for details
search cancel

CEM fails to create the Symantec Agent Website. Configuration of the IIS Website for Cloud-enabled management agent connection failed. See logs for details

book

Article ID: 164302

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Trying to create the CEM Symantec Agent website in the console fails with an error:  Configuration of IIS Website for Cloud-enabled management agent connection failed.  See logs for details

In the console when creating the Symantec Agent website it would fail with the error below:

Configuration of IIS Website for Cloud-enabled management agent connection failed.  See logs for details

The logs showed the following error:

Error executing Task '' (436fcc56-e81e-4b29-ac37-fa11d2ded66a). Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: second
   at System.Linq.Enumerable.SequenceEqual[TSource](IEnumerable`1 first, IEnumerable`1 second, IEqualityComparer`1 comparer)
   at Altiris.NS.StandardItems.Product.CoreSolutionHelper.ChangeBindingInformation(String sSiteName, Int32 nNewPort, String sCertificateThumbprint)
   at Altiris.NS.StandardItems.SiteManagement.AgentSiteCreateTask.ExecuteTask(Hashtable args, ItemTaskState state)

If we tried to manually bind the certficate to the site in IIS we would see the following error:

A specified logon session does not exist. it may already have been terminated binding a certificate

Environment

ITMS 8.x

Cause

When the certificate was imported into the certficate store the option to make the certficate exportable was not checked. 

Resolution

Deleted the certficate and then re-imported it and selected the option during the import to make the certficate exportable.