Symptoms:
In eam_firstboot.py_10578_stderr.log, you see entries similar to: INFO:root:Found 1 matching service. ID is e5e50715-####-####-####-########aef 2018-10-31T14:25:46.795Z Error during EAM extension registration in VC. [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:719) 2018-10-31T14:25:46.806Z Traceback (most recent call last): File "/usr/lib/vmware-eam/firstboot/eaminstall/extension/vCenter.py", line 217, in _retrieveServiceContent self.siC = si.RetrieveContent() File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 557, in <lambda> self.f(*(self.args + (obj,) + args), **kwargs) . . self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:719) During handling of the above exception, another exception occurred: Traceback (most recent call last): . File "/usr/lib/python3.5/ssl.py", line 641, in do_handshake self._sslobj.do_handshake() cis.baseCISException.BaseInstallException: { "problemId": null, "componentKey": "eam", "resolution": { "translatable": "Search for these symptoms in the VMware knowledge base for any known issues and possible workarounds. If none can be found, collect a support bundle and open a support request.", "id": "install.eam.fileSR.resolution", "localized": "Search for these symptoms in the VMware knowledge base for any known issues and possible workarounds. If none can be found, collect a support bundle and open a support request." }, "detail": [ { "translatable": "Cannot retrieve service content from vCenter Server %(0)s:%(1)s.", "args": [ "localhost", 80 ], "id": "install.eam.error.extension.service_content", "localized": "Cannot retrieve service content from vCenter Server localhost:80." }, { "translatable": "Unable to register ESX Agent Manager as an extension in vCenter Server.", "args": [], "id": "install.eam.error.extension", "localized": "Unable to register ESX Agent Manager as an extension in vCenter Server." } ] } 2018-10-31T14:25:46.806Z VMware ESX Agent Manager firstboot failed. Or 2019-03-18T12:08:43.352Z Error during EAM extension registration in VC.[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726) 2019-03-18T12:08:43.361Z Traceback (most recent call last):File "/usr/lib/vmware-eam/firstboot/eam_firstboot.py", line 355, in main fb.registerExtension()
In eam_firstboot.py_10578_stdout.log, you see entries similar to:
While Retrieving machine ssl cert: 2018-10-31T14:25:46.613Z ESX Agent Manager service installed 2018-10-31 14:25:46.613495 Retrieving Vpxd certificate. 2018-10-31T14:25:46.613Z Running command: ['/usr/lib/vmware-vmafd/bin/vecs-cli', 'entry', 'getcert', '--store', 'MACHINE_SSL_CERT', '--alias', '__MACHINE_CERT', '--output', '/var/tmp/vmware/tmp03e4hcol'] 2018-10-31T14:25:46.634Z Done running command 2018-10-31 14:25:46.635274 Retrieving Vpxd private key. 2018-10-31T14:25:46.635Z Running command: ['/usr/lib/vmware-vmafd/bin/vecs-cli', 'entry', 'getkey', '--store', 'MACHINE_SSL_CERT', '--alias', '__MACHINE_CERT', '--output', '/var/tmp/vmware/tmpcci2pk6e'] 2018-10-31T14:25:46.660Z Done running command While retrieving signing certificate of the Machine SSL: 2018-10-31 14:25:46.680541 Retrieving CA certificate. 2018-10-31T14:25:46.680Z Running command: ['/usr/lib/vmware-vmafd/bin/vecs-cli', 'entry', 'list', '--store', 'TRUSTED_ROOTS'] 2018-10-31T14:25:46.725Z Done running command 2018-10-31T14:25:46.726Z Running command: ['/usr/lib/vmware-vmafd/bin/vecs-cli', 'entry', 'getcert', '--store', 'TRUSTED_ROOTS', '--alias', '31393071fac886b194715db3f716f16ad298967f', '--output', '/var/tmp/vmware/tmple3kevq7'] 2018-10-31T14:25:46.747Z Done running command 2018-10-31 14:25:46.747608 Registering EAM service as a VC extension.
/usr/lib/vmware-eam/firstboot/eaminstall/vecs.py:
self._vecsCAEntry.get_cert(caAliases[0], output_file)
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.