Delete a Root Certificate from vCenter
Server
vCenter
Server
You can use the
TrustedRootChains
interface to add, delete and read
trusted root certificate chains. This use case demonstrates how to delete a root certificate
or certificate chain from the trusted root store of your vCenter Server
system.Verify that you have the required privileges for executing the method:
and .Deleting certificates is not available
through the
vSphere Client
and you
can only do this by using the vSphere
Automation
API or the CLI tools.Deleting a root certificate or certificate chain that is in use
might cause breakage of your systems. Proceed to delete a root certificate only if
you are sure it is not in use by your
vCenter Server
or any connected systems.- Retrieve the root certificates from yourvCenter Serversystem by calling thelistfunction of theTrustedRootChainsinterface.The system lists the unique identifiers (chains) of the certificates in the trusted certificate store.
- Retrieve the certificate you want to delete by calling thegetfunction and passing the unique identifier (chain) of the certificate as an argument.
- Delete the certificate by using the delete function of theTrustedRootChainsinterface and passing the unique identifier (chain) of the certificate as an argument.
- To verify you deleted the certificate, list the root certificates from yourvCenter Serversystem once again.