vCenter

 View Only
  • 1.  Script to check all vCenter certs for expiry?

    Posted Feb 09, 2021 08:58 PM

    Does anyone have a script that will check all vCenter certs for expiry date and report?



  • 2.  RE: Script to check all vCenter certs for expiry?

    Posted Feb 09, 2021 10:29 PM

    Found it

    for i in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list); do echo STORE $i; sudo /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $i --text | egrep "Alias|Not After"; done



  • 3.  RE: Script to check all vCenter certs for expiry?

    Broadcom Employee
    Posted Feb 10, 2021 02:40 AM

    That will get all vecs certs except STS cert. For STS check   https://kb.vmware.com/s/article/79248