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

CertificateStatusAlarm - There are certificate that expired or about to expire/Certificate Status Change Alarm Triggered on VMware vCenter Server (68171)

Last Updated: 2/22/2024Categories: TroubleshootingTotal Views: 179520Language:
Chinese (Simplified)JapaneseEnglish

57 like this article

Subscribe to get an email
newsletter with new updates

57 people found this helpful Please provide article feedback:

Learn how VMware Skyline Advisor and Skyline Health Diagnostics work together to provide proactive intelligence and self-service log analysis.

Use Skyline Advisor to avoid issues before they occur across VCF, vSphere, vSAN, NSX, vROps & Horizon. Skyline Findings are based on top KBs, VMSAs/CVEs and design best practices.

Use Skyline Health Diagnostics to root cause vSphere & vSAN logs when an issue occurs. Skyline Health Diagnostic Findings are based on top KBs and VMSA/CVEs. You can use the Skyline Health Diagnostics tool in online or offline mode.

If you require additional help from technical support, please use Skyline Advisor to initiate a Log Assist to reduce time to upload logs. TSEs can also initiate logs to reduce effort.

Symptoms

ESXi host alarm certificate status.

Monitor or track SSL, SMS and, STS certificate expiration.

You see an Alarm in the vSphere Client or vSphere Web Client for Certificate Status

Alarm alarm.CertificateStatusAlarm
There are certificate that expired or about to expire

VPXD log will show below entries:

2019-05-20T16:22:47.739Z warning vpxd[30469] [Originator@6876 sub=Main opID=CheckCertificateExpiry-57e82b11] Certificate [Subject: <Certificate Subject>] from store <VECS Store Name> will expire on 2019-07-14 19:44:56.000
2019-05-20T16:22:47.750Z warning vpxd[30469] [Originator@6876 sub=Main opID=CheckCertificateExpiry-57e82b11] Certificate [Subject: <Certificate Subject>] from store <VECS Store Name> will expire on 2019-07-14 19:44:56.000

Log Location:

Windows vCenter Server - %ProgramData%\VMware\vCenter Server\logs\vmware-vpx/vpxd-*.log
VCSA - /var/log/vmware/vpxd/vpxd.log

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Purpose

This article will help you to remove the Certificate Status error by identifying the expired/expiring certificates and direct to the right articles to replace the certificate.

Cause

vCenter Server monitors all the certificate on VMware Endpoint Certificate Store. It triggers a Certificate Status alarm within VMware vCenter Server if any certificate is close to its expiration date.

The certificate status alarm settings can be configured using the following VMware vCenter Server advanced settings:

vpxd.cert.threshold

vpxd.certmgmt.certs.hardThreshold

vpxd.certmgmt.certs.pollIntervalDays

Resolution

If you encounter this alarm, review the certificate expiration values within each Keystore of the VMware Endpoint Certificate Store to determine which certificate is close to its expiration date or already expired.

Follow steps in Determining expired SSL certificates in vCenter Server and ESXi 6.x and 7.0.x (2015600)

Perform one of the below options to remove the certificates based on where an expired or expiring certificate is identified in VMware Endpoint Certificate Store:

For SSL certificate Expired/Expiring in MACHINE_SSL_CERT VECS Store:

Replacing default certificates with CA signed SSL certificates in vSphere 6.x

Replacing a vSphere 6.x Machine SSL certificate with a Custom Certificate Authority Signed Certificate

Replacing the vSphere 6.x Machine SSL certificate with a VMware Certificate Authority issued certificate

For Solution Users (machine/vsphere-webclient/vpxd/vpxd-extension VECS Stores)

Replacing default certificates with CA signed SSL certificates in vSphere 6.x

How to replace the vSphere 6.0 Solution User certs with CA-signed certs

How to replace the vSphere 6.0 Solution User certs with VMCA issued certs

For SMS certificate Expired/Expiring in SMS VECS Store:

"VasaServiceException: org.apache.axis2.AxisFault: certificate has expired", SMS Certificate Expiry Alarm after upgrading vCenter Server from 5.x to 6.x

For Expired/Expiring Certificate in TRUSTED_ROOTS VECS Store:

Removing Expired CA Certificates from the TRUSTED_ROOTS store in the VMware Endpoint Certificate Store (VECS)

For Expired/Expiring data-encipherment Certificate in data-encipherment VECS Store:

How to replace an expired data-encipherment certificate on vCenter Server

For Expired/Expiring Certificate in BACKUP_STORE VECS Store:

Identify the Alias of the expired certificate by executing the below command:

/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store BACKUP_STORE --text

Export the Certificate as a Backup copy.

/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store BACKUP_STORE --alias <Alias Name> --output <output folder>

For Example - /usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store BACKUP_STORE --alias bkp___MACHINE_CERT --output /certificates/old_machine.crt

Delete the Expired certificate from VECS Store.

/usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store BACKUP_STORE --alias <Alias Name> -y

For Example - /usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store BACKUP_STORE --alias bkp___MACHINE_CERT -y

Note:

For the vCenter Appliance (VCSA) automated version of this KB section please follow Clearing BACKUP_STORES certificates in the VCSA via shell script.

If the certificate is a part of a third-party solution, VMware recommends working with the third-party vendor to upgrade the solution's certificate.

Related Information

VMware Skyline Health Diagnostics for vSphere - FAQ

How to regenerate vSphere 6.x certificates using self-signed VMCA

Determining expired SSL certificates in vCenter Server and ESXi 6.x and 7.0.x

For STS certificate Expired/Expiring/Signing Certificate:

Checking Expiration of Security Token Service(STS) Certificate on vCenter Server

"Signing certificate is not valid" error in VCSA 6.5.x/6.7.x and vCenter Server 7.0.x

"Signing certificate is not valid" error in vCenter Server 6.5.x and 6.7.x on Windows

Note: STS/Signing Certificate is not stored in VECS store, hence not covered in vCenter Server alarms, please verify this Certificate by following above steps before proceeding with the replacement of other Certificates stored in VECS store as replacement of these Certificates will fail if STS certificate is already expired.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

No results for undefined

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

VMware vCenter Server 6.7.x

VMware vCenter Server 6.5.x

VMware vCenter Server 6.0.x

Take Our Survey

Support Assistant