Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

"Unable to enumerate and validate the root certificates from the TRUSTED_ROOTS VECS store" pre-upgrade check error while upgrading to VC 6.7 (70902)

Last Updated: 7/20/2021Categories: Known IssueTotal Views: 16635Language:
Chinese (Simplified)JapaneseEnglish

16 like this article

Subscribe to get an email
newsletter with new updates

16 people found this helpful Please provide article feedback:

Symptoms

Upgrading from  vSphere 6.5 to 6.7 fails at stage 2 pre-checks with the error:

Unable to enumerate and validate the root certificates from the TRUSTED_ROOTS VECS store.

Cause

This issue occurs due to invalid entries in the trusted root store.

Impact / Risks

If VASA provider is in use, un-publishing certificate you will lose access to vvol datastore.

Resolution

To resolve this issue, ensure that the vmafd service is reachable and started before continuing.

Note: Take a valid snapshot/backup of the source vCenter Server.

Check for invalid entries (alias should contain thumbprint not a url) in TRUSTED_ROOTS store by running these commands on the source appliance:

/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOTS | grep Alias

You see the output similar to:

Alias : 44cc699f8acb000e22cd9d54ef9344c1d340e26d
Alias : 4ed81f47dda09fe0d2e281566bbe9e8e0d733f70
Alias : https://192.168.148.60:8443/vasa/version.xml

Note: The third URL in the above list is invalid as it does not match the alias and should be deleted.

Take a backup of certs by running this command:

/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store trusted_roots --alias <URL> --output <location>

For example:

/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store trusted_roots --alias https://192.168.148.60:8443/vasa/version.xml --output /storage/core/nimble192.168.148.60.crt

Delete the entry from the store by running this command:(the connection to VASA is not disrupted by performing this deletion)

/usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store trusted_roots --alias <URL>

For example:

/usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store trusted_roots --alias https://192.168.148.75:8443/vasa/version.xml

To publish the certificate to vmdir run this command:

/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert <location> --login administrator --password <password>

For example:
/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /storage/core/nimble192.168.148.60.crt  --login administrator --password VMware123

To list of TRUSTED_ROOTS certs, run the command:

/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOTS | grep Alias

You see the output similar to:

Alias : 44cc699f8acb000e22cd9d54ef9344c1d340e26d
Alias : 4ed81f47dda09fe0d2e281566bbe9e8e0d733f70
Alias : 6a44eff3db63a9699ba3e65aed242bd67f62e6a1

Retry the vCenter upgrade process and pre-checks will complete successfully.

If the certificate is no longer in use, you can proceed to unpublish the cert using below command.

/usr/lib/vmware-vmafd/bin/dir-cli trustedcert unpublish --cert <location> --login administrator --password <password>

For example:

/usr/lib/vmware-vmafd/bin/dir-cli trustedcert unpublish --cert /storage/core/nimble192.168.148.60.crt  --login administrator --password VMware123

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

KB
•
Workspace ONE Tunnel 20.07 for Android リリースのお知らせ (80178)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server Appliance

VMware vCenter Server

Related Versions:

VMware vCenter Server Appliance 6.7.x

VMware vCenter Server 6.7.x

Take Our Survey

Support Assistant