Pre-check error while patching vCenter Server to 8.0 U2a:
YYYY-MM-DDTHH:MM:SS.Z INFO eam.lib.eam-upgrade-prechecks Verifying ('IP/FQDN', 8080). YYYY-MM-DDTHH:MM:SS.Z WARNING eam.lib.eam-upgrade-prechecks The ('IP/FQDN', 8080) is not trusted. Traceback (most recent call last): File "/tmp/vmware-upgrade-temp-dir9Hsu3kuBng/tmpDa2KRuY8Zc/payload/component-scripts/eam/lib/trust-verifier.py", line 287, in _verifyServer do_handshake_on_connect=True File "/usr/lib/python3.5/ssl.py", line 385, in wrap_socket _context=self) File "/usr/lib/python3.5/ssl.py", line 760, in __init__ self.do_handshake() File "/usr/lib/python3.5/ssl.py", line 996, in do_handshake self._sslobj.do_handshake() File "/usr/lib/python3.5/ssl.py", line 641, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:719) ... YYYY-MM-DDTHH:MM:SS.Z INFO extensions The component script returned '{'srcPorts': [], 'installArguments': {}, 'coreRequirement': {'importEstimationTime': 0, 'requiredSrcDiskSpace': 0.0, 'requiredDstDiskSpace': {}, 'exportEstimationTime': 0}, 'dstPortSpecs': [], 'userOptionSpecs': [], 'extraArguments': {}, 'requirementMismatchSpecs': [{'problemId': None, 'resolution': Please refer to https://kb.vmware.com/s/article/93526 to trust the URLs: https://<IP/FQDN>:8080/vm/vm.ovf., 'severity': 'ERROR', 'text': Source ESX Agent Manager Configuration contains URLs that are not trusted by the System!, 'description': None}]}'
YYYY-MM-DDTHH:MM:SS.Z eam:CollectRequirements INFO eam.lib.eam-upgrade-prechecks Verifying (
'IP/FQDN'
,8080
).
YYYY-MM-DDTHH:MM:SS.Zeam:CollectRequirements WARNING eam.lib.eam-upgrade-prechecks The (
'IP/FQDN'
,
8080
) is not trusted.
Traceback (most recent call last):
File
"/storage/core/software-update/updates/8.0.2.00100/scripts/patches/payload/components-script/eam/lib/trust-verifier.py"
, line
284
, in _verifyServer
context.wrap_socket(
File
"/usr/lib/python3.10/ssl.py"
, line
512
, in wrap_socket
return
self.sslsocket_class._create(
File
"/usr/lib/python3.10/ssl.py"
, line
1070
, in _create
self.do_handshake()
File
"/usr/lib/python3.10/ssl.py"
, line
1341
, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:
997
)
YYYY-MM-DDTHH:MM:SS.Z
INFO vmware_b2b.patching.phases.discoverer Discovery completed. Result: [
...
"name"
:
"eam"
,
"patchScript"
:
"/storage/core/software-update/updates/8.0.2.00100/scripts/patches/payload/components-script/eam"
,
"requirementsResult"
: {
"mismatches"
: [
{
"description"
:
null
,
"problemId"
:
null
,
"relatedUserDataId"
:
null
,
"resolution"
: {
"args"
: [
"https://<IP/FQDN>:8080/vm/vm.ovf"
],
"id"
:
"eam.action.ensure.url.trusted"
,
"localized"
:
"Please refer to https://kb.vmware.com/s/article/93526 to trust the URLs: https://<IP/FQDN>:8080/vm/vm.ovf."
,
"translatable"
:
"Please refer to https://kb.vmware.com/s/article/93526 to trust the URLs: %(0)s."
},
"severity"
:
"error"
,
"text"
: {
"id"
:
"eam.url.not.trusted"
,
"localized"
:
"Source ESX Agent Manager Configuration contains URLs that are not trusted by the System!"
,
"translatable"
:
"Source ESX Agent Manager Configuration contains URLs that are not trusted by the System!"
}
}
}
VMware vCenter 7.0 u3
Any of the following options can be used as a remediation of the problem. After execution of any of the options, the VC upgrade needs to be started again.
Option 1 (recommended): Configure a leaf SSL certificate that is to be trusted for a specific VIB or OVF URL
NOTE:
Option 2: Disable the SSL certificate verification for a specific VIB or OVF URL
Note: Using this option makes VIB and OVF URL download insecure.
NOTE:
Option 3: Change the file server SSL certificate
If the SSL certificate is invalid:
Option 4: Add a trusted root CA certificate to VECS
If the SSL certificate is issued by a CA,