"VasaServiceException: org.apache.axis2.AxisFault: certificate has expired", SMS Certificate Expiry Alarm after upgrading vCenter Server from 5.x to 6.x
book
Article ID: 343756
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Symptoms:
After upgrading from vCenter Server 5.x to 6.x, you experience these symptoms:
You see a critical alarm in the vSphere Client or vSphere Web Client for a certificate (SSL) expiry
VMware vSphere Profile-Driven Storage Service Health Alarm will show as Warning
Restarting VMware VirtualCenter Server after acknowledging the alarm cause the alarm to reappear.
In a VMware vSAN environment, you experience these symptoms:
Cannot see or manually add VMware vSAN Storage Providers in the VMware vSphere Web Client
Manually adding Storage Provider for vSAN in the vSphere Web client fails
In the VMware vSphere Web Client, VMware vSAN Storage Providers that were previously online report an offline or disconnected status
You see the error:
The Register new storage provider operation failed for the entity with the following error message. A Problem was encountered while registering the provider
In the sps.log file on vCenter Server, you see entries similar to:
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Environment
VMware vCenter Server 6.0.x VMware vCenter Server Appliance 6.0.x VMware vCenter Server 6.5.x VMware vCenter Server Appliance 6.5.x
Cause
SSL alarm will display when the Storage Monitoring Service (SMS) 5.x certificate is still in the VECS (VMware Endpoint Certificate Store) and has expired. This certificate is no longer used in version vCenter Server 6.x.
Resolution
To resolve this issue, remove the expired certificate from the VECS:
To remove the expired certificate from the VECS in Windows-based vCenter Server:
Log in to vCenter Server as an administrative user.
Open a command prompt and navigate to C:\Program Files\VMware\vCenter Server\vmafdd.
List all the stores present in VECS with this command:
vecs-cli store list
List all the entries in SMS store with this command and check the validity: