To resolve this issue when there is an incorrect or corrupted certificate in the VRMGuestAgent folder on the guest OS, delete the .PEM file located at C:\VRMGuestAgent\ directory in your Windows template or source virtual machine:
To delete the .PEM file:
- Stop the VRMGuestAgent service.
- Delete the .PEM file located at C:\VRMGuestAgent\ directory.
- Shut down the template or source virtual machine.
- Provision a new virtual machine from the template to confirm if the issue is resolved.
To update/confirm the FQDN name of the VMware vRealize Automation (formerly known as vCloud Automation Center) server that you are pointing to within the Windows Guest:
- Stop the VRMGuestAgent service.
- Delete the .PEM file located at C:\VRMGuestAgent\ directory.
- Uninstall the Guest Agent using an elevated command prompt and run this command:
c:\VRMGuestAgent\winservice.exe -u.
- Install the Guest Agent using an elevated command prompt and run this command:
c:\VRMGuestAgent\winservice.exe -i -h [vCAC Manager Service Server or IaaS FQDN]:443 -p ssl
- Shut down the template or source virtual machine.
- Provision a new virtual machine from the template to confirm if the issue is resolved.