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

Error: Failed to force refresh TRUSTED_ROOTS, Error : 183 (70656)

Last Updated: 4/19/2023Categories: TroubleshootingTotal Views: 17738Language:
Chinese (Simplified)JapaneseEnglish

5 like this article

Subscribe to get an email
newsletter with new updates

5 people found this helpful Please provide article feedback:

Symptoms

Upgrading Platform Service Controller (PSC) to 6.5/6.7 fails with vmafd firstboot with error: Failed to force refresh TRUSTED_ROOTS; Error code - 183

Embedded PSC or external PSC upgrade fails with vmafd firstboot error code 183

/var/log/firstboot/vmafd-firstboot.py_xxxxx_stderr.log

VMAFD boot failed directly after attempt to vecs-cli ‘force refresh’
2019-05-20T10:57:22.261Z Running command: ['/usr/lib/vmware-vmafd/bin/vecs-cli', 'force-refresh']
2019-05-20T10:57:23.041Z
2019-05-20T10:57:23.041Z VMAFD Boot failed
Exception: Traceback (most recent call last):
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 131, in main
controller.client_mode()
File "/usr/lib/vmware-vmafd/firstboot/vmafd-firstboot.py", line 79, in client_mode
service.client_mode()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmafdUpgrade.py", line 273, in client_mode
self.post_init()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmafdUpgrade.py", line 257, in post_init
self.vecs_force_refresh()
File "/usr/lib/vmware-vmafd/firstboot/identityinstall/vmafdInstall.py", line 748, in vecs_force_refresh
problemId = "install.vmafd.vecs_force_refresh_failed")
BaseInstallException: {
"resolution": {
"id": "install.vmafd.vecs_force_refresh_failed.resolution",
"localized": "Please search of these symptoms in the VMware Knowledge Base for any known issues and possible workarounds. If none can be found, please collect a support bundle and open a support request.",
"translatable": "Please search of these symptoms in the VMware Knowledge Base for any known issues and possible workarounds. If none can be found, please collect a support bundle and open a support request."
},
"detail": [
{
"args": [
183
],
"id": "install.vmafd.vecs_force_refresh_failed",
"localized": "Failed to force refresh TRUSTED_ROOTS, Error : 183",
"translatable": "Failed to force refresh TRUSTED_ROOTS, Error : %(0)d"
}
],
"componentKey": "vmafd",
"problemId": "install.vmafd.vecs_force_refresh_failed"
}

The above symptoms may occur during a converge operation when attempting to migrate from an external PSC to embedded deployment

vmafdd.log
2022-06-01T04:06:20.051283-04:00 err vmafdd t@140029373015808: [Error - 1006, ../../common/ssl.c:1964]
2022-06-01T04:06:20.052219-04:00 err vmafdd t@140029373015808: [Error - 1006, ../../../server/vmafd/vecsserviceapi.c:717]
2022-06-01T04:06:20.052359-04:00 err vmafdd t@140029373015808: VecsSrvAddCertificate returning 1006
2022-06-01T04:06:20.052656-04:00 err vmafdd t@140029373015808: [Error - 1006, ../../../server/vmafd/rootfetch.c:270]
2022-06-01T04:06:20.052792-04:00 notice vmafdd t@140029373015808: Failed to update trusted roots. Error [1006]

Cause

This is caused due to the unexpectedly high number of cert entries in TRUSTED_ROOT_CRLS store

Resolution

To workaround the issue, remove the extra entries in the TRUSTED_ROOT_CRLS store

Login to the PSC node via ssh

Capture the number of entries in the TRUSTED_ROOTS store

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

Capture the number of entries in the TRUSTED_ROOT_CRLS store

/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOT_CRLS | grep Number

Download the "crl-fix.sh" script attached to this kb and upload to the impacted PSC or VC with embedded PSC in the /tmp folder, or copy its contents to a text file on the appliance using vi

cd to /tmp folder

Run chmod +x crl-fix.sh to make the file executable

Run ./crl-fix.sh

Restart services on all vCenters and/or PSCs in your SSO domain

Note: To remove expired certificates in TRUSTED_ROOTS, refer to Removing Expired CA Certificates from the TRUSTED_ROOTS store in the VMware Endpoint Certificate Store (VECS)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

crl-fix

Additional Resources

KB
•
コンプライアンス スコアが、vRealize Operations Manager 7.5 の分析ノードによって異なる (70665)

KB
•
如何调整 vRealize Automation postgres 数据库 ebs_event 表的清除时间间隔 (70759)

KB
•
Enterprise PKS 与 vRealize Log Insight 集成后，发现 CPU 利用率很高 (70647)

KB
•
vCenter Server Appliance 6.5 的 VMDK 列表 - 大小、挂载点和用途 (70624)

Results 1-4 of 4

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 Appliance 6.5.x

VMware vCenter Server 6.7.x

VMware vCenter Server 6.5.x

Take Our Survey

Support Assistant