Error: "Failed to generate package. The chain context handle is invalid..." when generating CEM agent packages
book
Article ID: 159361
calendar_today
Updated On:
Products
IT Management Suite
Issue/Introduction
When trying to create a cloud enabled management package the package fails to be created:
Failed to generate package. The chain context handle is invalid. Parameter name: certificate
Environment
ITMS 8.x
Cause
The SSL certificate for the Symantec Agent Website in IIS is missing from the server's personal certificate store on the Symantec Management Platform.
Also, having unnecessary certificates under the Personal can also cause problems.
Resolution
Try the following:
Open MMC on the SMP server and check that under the Personal certificate store, the certificates used for the Default Web site and Symantec Agent site are there.
Re-import the CEM certificate to the personal certificate store in MMC on SMP Server.
If you have more certificates than the ones used in the Default Web Site and Symantec Agent Site in IIS manager, remove them (export them with their private key as a backup).
Run NS.CEM Certificate Synchronization schedule (in Task Scheduler)