top of page

CryptographicException - Keyset does not exist


Recently stumbled upon a problem where "Last Connected " status of IaaS nodes under VAMI was way off.

Ideally "Last Connected" Status of any IaaS nodes should be under 10 ~ 15 minutes

The first step to diagnose the problem was to look into the Management Agent/All.log of that node

Found following exception , it was the only one inside these All.log's

Exception :-

[UTC:2018-10-28 23:45:35 Local:2018-10-29 10:45:35] [Error]: [sub-thread-Id="7" context="" token=""] Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "VMware.Cafe.IManagementEndpointClient", name = "(none)". Exception occurred while: Calling constructor VMware.Cafe.ManagementEndpointClient(System.Uri baseAddress, VMware.Cafe.ManagementEndpointSecurityContext authenticationContext, VMware.Cafe.TrustedCertificatePredicate trustCertificatePredicate). Exception is: CryptographicException - Keyset does not exist

----------------------------------------------- At the time of the exception, the container was:

Resolving VMware.Cafe.ManagementEndpointClient,(none) (mapped from VMware.Cafe.IManagementEndpointClient, (none)) Calling constructor VMware.Cafe.ManagementEndpointClient(System.Uri baseAddress, VMware.Cafe.ManagementEndpointSecurityContext authenticationContext, VMware.Cafe.TrustedCertificatePredicate trustCertificatePredicate) ---> System.Security.Cryptography.CryptographicException: Keyset does not exist

Management agent does not function properly when running under non-administrative account

Management agent needs to be started using an administrative account. Even though you have it configured during installation if it is removed later you would end up in this problem.


312 views0 comments
bottom of page