Vulnerability scanning software may flag expired SSL certificates on vCenter Server appliances even after the Machine SSL certificate has been successfully updated.
Specifically, the smart card authorization service (port 3128) continues to present the previous, expired certificate rather than the newly provisioned certificate.
Running the following command on the vCenter appliance confirms a expired certificate is associated with the port:
openssl s_client -connect localhost:<port number> -servername <vcenter_fqdn> 2>/dev/null | openssl x509 -noout -dates
VMware vCenter Server 8.x / 9.x
The vCenter Server appliance services utilize cached configuration data in memory.
If the appliance services are not restarted following a certificate update, the services bound to specific ports, such as 3128, continue to utilize the expired certificate files stored in the memory process rather than the updated certificate files present on the disk.
Ensure the vCenter Server is restarted after updating any certificates in the environment.
Method 1: Using the vCenter Server Management Interface
https://<vcenter_fqdn>:5480.Method 2: Using the Command Line Interface (Recommended for Targeted Restart)
root.service-control --stop --all && service-control --start --allVerification After the services have successfully restarted, verify that the port is presenting the updated, valid certificate by running the following OpenSSL command:
openssl s_client -connect localhost:<port number> -servername <vcenter_fqdn> 2>/dev/null | openssl x509 -noout -dates
If the certificate is still showing expired, please reach out to Broadcom Support for additional assistance - Contact Support - Broadcom Software
Reference: vSphere Security Certificates