Note down esxi host, which is hosting both vCenter server.
From appliance management , shut down both appliance
Login to each esxi host, which is hosting both these vCenter appliance. take snapshot of VCSA, when it is powered off.
If these vCenter was custom certificate signed by internal CA, along with machine SSL, you need to replace it all for both vCenter,
You can do replace SSL certificate one at time per vCenter server
https://kb.vmware.com/s/article/2097936
If only machine SSL certificate was replaced by internal CA, then you just do it and regenrate solution SSL certificate using certificate manager
vCenter Server Appliance: /usr/lib/vmware-vmca/bin/certificate-manager