vsphere-automation-sdk-python icon indicating copy to clipboard operation
vsphere-automation-sdk-python copied to clipboard

Ability to retrieve enviorement certificates of VCSA

Open belykhk opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

For purpose of monitoring i need to retrive information about expire date of various certificates stored in vCenter. I can see them if i login to VCSA by ssh and run for store in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list | grep -v TRUSTED_ROOT_CRLS); do echo "[*] Store :" $store; /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $store --text | grep -ie "Alias" -ie "Not After";done; as described here.

I can't find any information about retrieving all af those certs, besides of machine ssl and trusted root ones. If there is way to do it outside of ssh cli, i'd like to know.

Describe the solution you'd like

Ability to retrieve all VCSA certificates with information about expire date

Describe alternatives you've considered

No response

Additional context

No response

belykhk avatar Jun 02 '22 15:06 belykhk